Merge pull request #1843 from cfromknecht/change-noencryptwallet

Start deprecating noencryptwallet
This commit is contained in:
Olaoluwa Osuntokun authored and GitHub committed 2018-09-12 21:07:23 -07:00
commit c5ece1e509
9 files changed
+12 -23

No files matched your search

+2 -2
View File
@@ -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,