From c68e5402bb5afea5e997cd5acedc7d7e5e384bc2 Mon Sep 17 00:00:00 2001 From: alex <152680487+bodhi-crypo@users.noreply.github.com> Date: Sun, 31 Dec 2023 17:23:46 +0800 Subject: [PATCH] chore: fix some typos && re-run make proto-gen (#539) --- proto/types/dymint/dymint.proto | 2 +- types/pb/dymint/dymint.pb.go | 2 +- types/tx.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/proto/types/dymint/dymint.proto b/proto/types/dymint/dymint.proto index c4ce80ec8..509cc4157 100755 --- a/proto/types/dymint/dymint.proto +++ b/proto/types/dymint/dymint.proto @@ -62,7 +62,7 @@ message Header { message Commit { uint64 height = 1; bytes header_hash = 2; - // Note: most of the time this will be a single sinature + // Note: most of the time this will be a single signature repeated bytes signatures = 3; tendermint.types.CommitSig tm_signature = 4; } diff --git a/types/pb/dymint/dymint.pb.go b/types/pb/dymint/dymint.pb.go index e8811fcbb..3200e6bb6 100644 --- a/types/pb/dymint/dymint.pb.go +++ b/types/pb/dymint/dymint.pb.go @@ -242,7 +242,7 @@ func (m *Header) GetChainId() string { type Commit struct { Height uint64 `protobuf:"varint,1,opt,name=height,proto3" json:"height,omitempty"` HeaderHash []byte `protobuf:"bytes,2,opt,name=header_hash,json=headerHash,proto3" json:"header_hash,omitempty"` - // Note: most of the time this will be a single sinature + // Note: most of the time this will be a single signature Signatures [][]byte `protobuf:"bytes,3,rep,name=signatures,proto3" json:"signatures,omitempty"` TmSignature *types.CommitSig `protobuf:"bytes,4,opt,name=tm_signature,json=tmSignature,proto3" json:"tm_signature,omitempty"` } diff --git a/types/tx.go b/types/tx.go index 46eef82e8..0565c5a47 100644 --- a/types/tx.go +++ b/types/tx.go @@ -6,7 +6,7 @@ import ( tmbytes "github.com/tendermint/tendermint/libs/bytes" ) -// Tx represents transactoin. +// Tx represents transaction. type Tx []byte // Txs represents a slice of transactions.