We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8bedf6b commit cb86e92Copy full SHA for cb86e92
keyring/memory/memory.go
@@ -22,6 +22,7 @@ func New(mnemonic string, numAccounts uint64) *Keyring {
22
seed := bip39.NewSeed(mnemonic, "")
23
24
for i := uint64(0); i < numAccounts; i++ {
25
+ //nolint:gosec // i ranges up to numAccounts which won't overflow uint32
26
key := generateKeyFromSeed(seed, uint32(i))
27
address := key.PubKey().Address()
28
0 commit comments