fix lnd unlock when second option

This commit is contained in:
rootzoll 2022-06-06 00:27:34 +02:00
parent 47318f958c
commit c052b455e8

View File

@ -24,6 +24,7 @@ if [ "${action}" == "chain-unlock" ]; then
CHAIN=$2
if [ "${CHAIN}" == "mainnet" ]; then
chain="main"
passwordC="$3"
elif [ "${CHAIN}" == "testnet" ]; then
chain="test"
passwordC=""