walletunlocker/service: change noencryptwallet reference to noseedbackup

This commit is contained in:
Conner Fromknecht 2018-09-04 18:54:32 -07:00
parent fb3ace9b28
commit d75a01ec83
No known key found for this signature in database
GPG Key ID: E7D737B67FA592C7

@ -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