docs: fix typos (backport #21514) (#21551)

Co-authored-by: omahs <73983677+omahs@users.noreply.github.com>
This commit is contained in:
mergify[bot]
2024-09-04 22:09:30 +02:00
committed by GitHub
co-authored by omahs
parent c4c0142ef4
commit de345f16d7
6 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ When creating a testnet the important part is migrate the validator set from man
}
iterator.Close()
// Remove all valdiators from last validators store
// Remove all validators from last validators store
iterator = app.StakingKeeper.LastValidatorsIterator(ctx)
for ; iterator.Valid(); iterator.Next() {
app.StakingKeeper.LastValidatorPower.Delete(iterator.Key())
+1 -1
View File
@@ -61,7 +61,7 @@ It is recommended to implement all validation checks in a separate function that
```go
ValidateMsgA(msg MsgA, now Time, gm GasMeter) error {
if now.Before(msg.Expire) {
return sdkerrrors.ErrInvalidRequest.Wrap("msg expired")
return sdkerrors.ErrInvalidRequest.Wrap("msg expired")
}
gm.ConsumeGas(1000, "signature verification")
return signatureVerificaton(msg.Prover, msg.Data)