mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-02-22 14:22:37 +01:00
walletunlocker/service: change noencryptwallet reference to noseedbackup
This commit is contained in:
parent
fb3ace9b28
commit
d75a01ec83
1 changed files with 1 additions and 1 deletions
|
@ -309,7 +309,7 @@ func (u *UnlockerService) ChangePassword(ctx context.Context,
|
|||
privatePw := in.CurrentPassword
|
||||
|
||||
// If the current password is blank, we'll assume the user is coming
|
||||
// from a --noencryptwallet state, so we'll use the default passwords.
|
||||
// from a --noseedbackup state, so we'll use the default passwords.
|
||||
if len(in.CurrentPassword) == 0 {
|
||||
publicPw = lnwallet.DefaultPublicPassphrase
|
||||
privatePw = lnwallet.DefaultPrivatePassphrase
|
||||
|
|
Loading…
Add table
Reference in a new issue