walletunlocker/service: change noencryptwallet reference to noseedbackup

This commit is contained in:
Conner Fromknecht committed 2018-09-04 20:52:43 -07:00
1 parent fb3ace9b28
commit d75a01ec83
1 file changed
+1 -1
+1 -1
View File
@@ -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