Skip to content

Commit

Permalink
chore: make function comment match function names (#20666)
Browse files Browse the repository at this point in the history
Signed-off-by: fudancoder <[email protected]>
  • Loading branch information
fudancoder authored Jun 13, 2024
1 parent f413679 commit 433e3fd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion server/v2/cometbft/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ func ToSDKEvidence(ev []abci.Misbehavior) []*comet.Evidence {
return evidence
}

// ToSDKDecidedCommitInfo takes comet commit info and returns sdk commit info
// ToSDKCommitInfo takes comet commit info and returns sdk commit info
func ToSDKCommitInfo(commit abci.CommitInfo) *comet.CommitInfo {
ci := comet.CommitInfo{
Round: commit.Round,
Expand Down
2 changes: 1 addition & 1 deletion server/v2/stf/core_gas_service.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ func NewGasMeterService() gas.Service {

type gasService struct{}

// GetGasConfig implements gas.Service.
// GasConfig implements gas.Service.
func (g gasService) GasConfig(ctx context.Context) gas.GasConfig {
panic("unimplemented")
}
Expand Down
4 changes: 2 additions & 2 deletions x/accounts/defaults/multisig/utils_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ func (mockStateCodec) GetMsgAnySigners(msg *types.Any) ([][]byte, protoreflect.M
panic("unimplemented")
}

// GetMsgV1Signers implements codec.Codec.
// GetMsgSigners implements codec.Codec.
func (mockStateCodec) GetMsgSigners(msg gogoproto.Message) ([][]byte, protoreflect.Message, error) {
panic("unimplemented")
}

// GetMsgV2Signers implements codec.Codec.
// GetReflectMsgSigners implements codec.Codec.
func (mockStateCodec) GetReflectMsgSigners(msg protoreflect.Message) ([][]byte, error) {
panic("unimplemented")
}
Expand Down

0 comments on commit 433e3fd

Please sign in to comment.