Skip to content

Commit 7bfe1a0

Browse files
committed
walletinfo: add default wallet description
1 parent 905df7e commit 7bfe1a0

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

cmd/chantools/walletinfo.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,10 @@ used and, if enabled with --withrootkey the BIP32 HD root key of the wallet. The
7373
latter can be useful to recover funds from a wallet if the wallet password is
7474
still known but the seed was lost. **The 24 word seed phrase itself cannot be
7575
extracted** because it is hashed into the extended HD root key before storing it
76-
in the wallet.db.`,
76+
in the wallet.db.
77+
In case lnd was started with "--noseedbackup=true" your wallet has the default
78+
password. To unlock the wallet set the environment variable WALLET_PASSWORD="-"
79+
or simply press <enter> without entering a password when being prompted.`,
7780
Example: `chantools walletinfo --withrootkey \
7881
--walletdb ~/.lnd/data/chain/bitcoin/mainnet/wallet.db`,
7982
RunE: cc.Execute,

0 commit comments

Comments
 (0)