mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-10-09 20:32:52 +02:00
funding info
This commit is contained in:
@@ -20,15 +20,11 @@ fi
|
|||||||
|
|
||||||
# check available funding
|
# check available funding
|
||||||
confirmedBalance=$(lncli walletbalance | grep '"confirmed_balance"' | cut -d '"' -f4)
|
confirmedBalance=$(lncli walletbalance | grep '"confirmed_balance"' | cut -d '"' -f4)
|
||||||
if [ "${network}" = "bitcoin" ]; then
|
if [ ${confirmedBalance} -eq 0 ]; then
|
||||||
if [ ${confirmedBalance} -lt 100 ]; then
|
echo "FAIL - You have 0 SATOSHI in your confirmed LND On-Chain Wallet."
|
||||||
|
echo "Please fund your on-chain wallet first and wait until confirmed."
|
||||||
fi
|
echo ""
|
||||||
elif [ "${network}" = "litecoin" ]; then
|
exit 1
|
||||||
// 20000 SAT
|
|
||||||
// 546
|
|
||||||
// 616233 SAT
|
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# check number of connected peers
|
# check number of connected peers
|
||||||
|
Reference in New Issue
Block a user