|
@ -167,7 +167,7 @@ while : |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# check if locked |
|
|
# check if locked |
|
|
locked=$(sudo -u admin lncli --chain=${network} --network=${chain}net getinfo 2>&1 | grep -c unlock) |
|
|
locked=$(sudo -u bitcoin lncli --chain=${network} --network=${chain}net getinfo 2>&1 | grep -c unlock) |
|
|
if [ "${locked}" -gt 0 ]; then |
|
|
if [ "${locked}" -gt 0 ]; then |
|
|
|
|
|
|
|
|
# special case: LND wallet is locked ---> show unlock info |
|
|
# special case: LND wallet is locked ---> show unlock info |
|
|