chore: remove duplicate word (#20544)

This commit is contained in:
lido333 2024-06-05 17:33:21 +08:00 committed by GitHub
parent 0536cb490f
commit b66de382e4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,7 +80,7 @@ func (sh *Helper) createValidator(addr sdk.ValAddress, pk cryptotypes.PubKey, co
}
}
// Delegate calls staking module staking module `MsgServer/Delegate` to delegate stake for a validator
// Delegate calls staking module `MsgServer/Delegate` to delegate stake for a validator
func (sh *Helper) Delegate(delegator, val string, amount math.Int) {
coin := sdk.NewCoin(sh.Denom, amount)
msg := stakingtypes.NewMsgDelegate(delegator, val, coin)