chore: fix comment (#23138)

Signed-off-by: peicuiping <ezc5@sina.cn>
Co-authored-by: Marko <marko@baricevic.me>
Co-authored-by: Alex | Skip <alex@skip.money>
This commit is contained in:
peicuiping 2025-01-03 22:23:04 +08:00 committed by GitHub
parent 1721583af3
commit ba8d778df4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -482,7 +482,7 @@ func (f *Factory) signMode() apitxsigning.SignMode { return f.txParams.SignMode
// getSimPK gets the public key to use for building a simulation tx.
// Note, we should only check for keys in the keybase if we are in simulate and execute mode,
// e.g. when using --gas=auto.
// When using --dry-run, we are is simulation mode only and should not check the keybase.
// When using --dry-run, we are in simulation mode only and should not check the keybase.
// Ref: https://github.com/cosmos/cosmos-sdk/issues/11283
func (f *Factory) getSimPK() (cryptotypes.PubKey, error) {
var (