From fb3ace9b28d93519723aeaf8ee25bdecb04a404d Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Tue, 4 Sep 2018 18:53:14 -0700 Subject: [PATCH] lnd: use default enc pw when noseedbackup is passed --- lnd.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnd.go b/lnd.go index aea8689a..8d15ee7c 100644 --- a/lnd.go +++ b/lnd.go @@ -210,9 +210,9 @@ func lndMain() error { ) // We wait until the user provides a password over RPC. In case lnd is - // started with the --noencryptwallet flag, we use the default password + // started with the --noseedbackup flag, we use the default password // for wallet encryption. - if !cfg.NoEncryptWallet { + if !cfg.NoSeedBackup { walletInitParams, err := waitForWalletPassword( cfg.RPCListeners, cfg.RESTListeners, serverOpts, proxyOpts, tlsConf,