mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-11-18 09:57:17 +01:00
handle testnet correct
This commit is contained in:
@@ -117,7 +117,7 @@ waitUntilChainNetworkIsReady()
|
|||||||
./AAunlockLND.sh
|
./AAunlockLND.sh
|
||||||
echo "please wait ... update to next screen can be slow"
|
echo "please wait ... update to next screen can be slow"
|
||||||
fi
|
fi
|
||||||
lndSynced=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} getinfo 2>/dev/null | jq -r '.synced_to_chain' | grep -c true)
|
lndSynced=$(sudo -u bitcoin /usr/local/bin/lncli --chain=${network} --network=${chain}net getinfo 2>/dev/null | jq -r '.synced_to_chain' | grep -c true)
|
||||||
if [ ${lndSynced} -eq 0 ]; then
|
if [ ${lndSynced} -eq 0 ]; then
|
||||||
./80scanLND.sh
|
./80scanLND.sh
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user