mirror of
https://github.com/status-im/status-go.git
synced 2025-01-21 20:20:29 +00:00
use stats[vector.language]++
to prevent lint errors when using += 1
This commit is contained in:
parent
5e4b4c7fc6
commit
3d71a3868a
@ -54,7 +54,7 @@ func TestMnemonicPhrase(t *testing.T) {
|
||||
t.Log("Test against pre-computed seed vectors:")
|
||||
stats := map[string]int{}
|
||||
for _, vector := range vectorsFile.vectors {
|
||||
stats[vector.language] += 1
|
||||
stats[vector.language]++
|
||||
mnemonic := NewMnemonic(vector.salt)
|
||||
seed := mnemonic.MnemonicSeed(vector.mnemonic, vector.password)
|
||||
if fmt.Sprintf("%x", seed) != vector.seed {
|
||||
|
Loading…
x
Reference in New Issue
Block a user