From 13f9b27979d632a12c044a3d8c47d03b464e8844 Mon Sep 17 00:00:00 2001 From: rootzoll Date: Thu, 9 Aug 2018 01:04:52 +0200 Subject: [PATCH] funding info --- home.admin/BBopenChannel.sh | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/home.admin/BBopenChannel.sh b/home.admin/BBopenChannel.sh index ccd87ea..3314de4 100755 --- a/home.admin/BBopenChannel.sh +++ b/home.admin/BBopenChannel.sh @@ -20,15 +20,11 @@ fi # check available funding confirmedBalance=$(lncli walletbalance | grep '"confirmed_balance"' | cut -d '"' -f4) -if [ "${network}" = "bitcoin" ]; then - if [ ${confirmedBalance} -lt 100 ]; then - - fi -elif [ "${network}" = "litecoin" ]; then - // 20000 SAT - // 546 - // 616233 SAT - +if [ ${confirmedBalance} -eq 0 ]; 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." + echo "" + exit 1 fi # check number of connected peers