mirror of
https://github.com/lightningnetwork/lnd.git
synced 2025-09-07 03:06:01 +02:00
lnd: use default enc pw when noseedbackup is passed
This commit is contained in:
4
lnd.go
4
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,
|
||||
|
Reference in New Issue
Block a user