mirror of
https://github.com/mynodebtc/mynode.git
synced 2024-12-25 05:58:06 +00:00
Fix race condition in generating lndconnect codes for the first time
This commit is contained in:
parent
74cbe0507d
commit
1863f3813b
|
@ -12,6 +12,12 @@ while [ ! -f $LND_WALLET_FILE ]; do
|
|||
sleep 1m
|
||||
done
|
||||
echo "LND Wallet found!"
|
||||
echo "Waiting on admin macaroon..."
|
||||
while [ ! -f $LND_ADMIN_MACAROON_FILE ]; do
|
||||
sleep 10s
|
||||
done
|
||||
echo "Admin macroon found!"
|
||||
sleep 5s
|
||||
|
||||
while true; do
|
||||
echo "Generating lndconnect QR codes..."
|
||||
|
|
Loading…
Reference in New Issue
Block a user