docs: fix typos (#21514)
Co-authored-by: Marko <marko@baricevic.me> Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
co-authored by
Marko
Julien Robert
parent
580579202a
commit
7f1eeb1801
+1
-1
@@ -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
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user