walletunlocker+keychain+config_builder: use new aezeed version

This commit is contained in:
Oliver Gugger
2022-05-12 12:47:13 +02:00
parent daa5966119
commit 51a480129b
4 changed files with 26 additions and 11 deletions

View File

@@ -309,7 +309,7 @@ func (u *UnlockerService) GenSeed(_ context.Context,
// instance.
//
cipherSeed, err := aezeed.New(
keychain.KeyDerivationVersion, &entropy, time.Now(),
keychain.CurrentKeyDerivationVersion, &entropy, time.Now(),
)
if err != nil {
return nil, err

View File

@@ -91,7 +91,7 @@ func createSeedAndMnemonic(t *testing.T,
pass []byte) (*aezeed.CipherSeed, aezeed.Mnemonic) {
cipherSeed, err := aezeed.New(
keychain.KeyDerivationVersion, &testEntropy, time.Now(),
keychain.CurrentKeyDerivationVersion, &testEntropy, time.Now(),
)
require.NoError(t, err)