Skip to content

Commit 63f386e

Browse files
authored
chore: fix some comments (#20119)
1 parent 600c246 commit 63f386e

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

crypto/keys/ed25519/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package ed25519
33
/*
44
This package contains a wrapper around crypto/ed22519 to make it comply with the crypto interfaces.
55
6-
This package employs zip215 rules. We use https://github.com/hdevalence/ed25519consensus verification function. Ths is done in order to keep compatibility with Tendermints ed25519 implementation.
6+
This package employs zip215 rules. We use https://github.com/hdevalence/ed25519consensus verification function. This is done in order to keep compatibility with Tendermints ed25519 implementation.
77
- https://github.com/cometbft/cometbft/blob/master/crypto/ed25519/ed25519.go#L155
88
99
This package works with correctly generated signatures. To read more about what this means see https://hdevalence.ca/blog/2020-10-04-its-25519am

x/auth/client/cli/tx_sign.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ func makeSignBatchCmd() func(cmd *cobra.Command, args []string) error {
140140
// append messages
141141
msgs = append(msgs, unsignedStdTx.GetMsgs()...)
142142
}
143-
// set the new appened msgs into builder
143+
// set the new appended msgs into builder
144144
err = txBuilder.SetMsgs(msgs...)
145145
if err != nil {
146146
return err

x/staking/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ A `ConsPubKeyRotationHistory` object is created every time a consensus pubkey ro
292292

293293
An entry is added in `OldToNewConsKeyMap` collection for every rotation (Note: this is to handle the evidences when submitted with old cons key).
294294

295-
An entry is added in `NewToOldConsKeyMap` collection for every rotation, this entry is to block the rotation if the validator is rotating to the cons key which is invovled in the history.
295+
An entry is added in `NewToOldConsKeyMap` collection for every rotation, this entry is to block the rotation if the validator is rotating to the cons key which is involved in the history.
296296

297297
To prevent the spam:
298298

0 commit comments

Comments
 (0)