@@ -140,7 +140,7 @@ func openOrCreateTestMacStore(tempDir string, pw *[]byte,
140
140
return store , nil
141
141
}
142
142
143
- // TestGenSeedUserEntropy tests that the gen seed method generates a valid
143
+ // TestGenSeed tests that the gen seed method generates a valid
144
144
// cipher seed mnemonic phrase and user provided source of entropy.
145
145
func TestGenSeed (t * testing.T ) {
146
146
t .Parallel ()
@@ -173,8 +173,8 @@ func TestGenSeed(t *testing.T) {
173
173
require .NoError (t , err )
174
174
}
175
175
176
- // TestGenSeedInvalidEntropy tests that the gen seed method generates a valid
177
- // cipher seed mnemonic pass phrase even when the user doesn't provide its own
176
+ // TestGenSeedGenerateEntropy tests that the gen seed method generates a valid
177
+ // cipher seed mnemonic passphrase even when the user doesn't provide its own
178
178
// source of entropy.
179
179
func TestGenSeedGenerateEntropy (t * testing.T ) {
180
180
t .Parallel ()
@@ -318,7 +318,7 @@ func TestInitWallet(t *testing.T) {
318
318
require .Error (t , err )
319
319
}
320
320
321
- // TestInitWalletInvalidCipherSeed tests that if we attempt to create a wallet
321
+ // TestCreateWalletInvalidEntropy tests that if we attempt to create a wallet
322
322
// with an invalid cipher seed, then we'll receive an error.
323
323
func TestCreateWalletInvalidEntropy (t * testing.T ) {
324
324
t .Parallel ()
@@ -344,7 +344,7 @@ func TestCreateWalletInvalidEntropy(t *testing.T) {
344
344
require .Error (t , err )
345
345
}
346
346
347
- // TestUnlockWallet checks that trying to unlock non-existing wallet fail , that
347
+ // TestUnlockWallet checks that trying to unlock non-existing wallet fails , that
348
348
// unlocking existing wallet with wrong passphrase fails, and that unlocking
349
349
// existing wallet with correct passphrase succeeds.
350
350
func TestUnlockWallet (t * testing.T ) {
@@ -530,8 +530,8 @@ func TestChangeWalletPasswordNewRootKey(t *testing.T) {
530
530
}
531
531
532
532
// TestChangeWalletPasswordStateless checks that trying to change the password
533
- // of an existing wallet that was initialized stateless works when when the
534
- // --stateless_init flat is set. Also checks that if no password is given,
533
+ // of an existing wallet that was initialized stateless works when the
534
+ // --stateless_init flag is set. Also checks that if no password is given,
535
535
// the default password is used.
536
536
func TestChangeWalletPasswordStateless (t * testing.T ) {
537
537
t .Parallel ()
0 commit comments