mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-05 17:05:50 +02:00
walletunlocker+keychain+config_builder: use new aezeed version
This commit is contained in:
@@ -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
|
||||
|
@@ -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)
|
||||
|
||||
|
Reference in New Issue
Block a user