Skip to content

Commit

Permalink
chore: fix some function names in comment
Browse files Browse the repository at this point in the history
Signed-off-by: sjtucoder <[email protected].>
  • Loading branch information
sjtucoder committed Feb 7, 2025
1 parent 4316ea0 commit 6b166ac
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/errors/nonce_mismatch.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ func IsNonceMismatch(err error) bool {
return errors.Is(err, sdkerrors.ErrWrongSequence)
}

// IsNonceMismatch checks if the error code matches the sequence mismatch.
// IsNonceMismatchCode checks if the error code matches the sequence mismatch.
func IsNonceMismatchCode(code uint32) bool {
return code == sdkerrors.ErrWrongSequence.ABCICode()
}
Expand Down
2 changes: 1 addition & 1 deletion app/module/manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ func (m *Manager) checkUpgradeSchedule() error {
return nil
}

// assertMatchingModules performs a sanity check that the basic module manager
// AssertMatchingModules performs a sanity check that the basic module manager
// contains all the same modules present in the module manager
func (m *Manager) AssertMatchingModules(basicModuleManager sdkmodule.BasicManager) error {
for _, module := range m.allModules {
Expand Down
2 changes: 1 addition & 1 deletion test/util/direct_tx_gen.go
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ func SendTxsWithAccounts(
return txs
}

// SendTxsWithAccounts will create a send transaction per account provided. The
// SendTxWithManualSequence will create a send transaction per account provided. The
// account info must be provided.
func SendTxWithManualSequence(
t *testing.T,
Expand Down

0 comments on commit 6b166ac

Please sign in to comment.