mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-08-09 09:43:23 +02:00
fix detect unconfirmed balance
This commit is contained in:
@@ -38,7 +38,7 @@ fi
|
|||||||
# check if money is waiting to get confirmed
|
# check if money is waiting to get confirmed
|
||||||
unconfirmed=$(lncli --chain=${network} --network=${chain}net walletbalance | grep '"unconfirmed_balance"' | cut -d '"' -f4)
|
unconfirmed=$(lncli --chain=${network} --network=${chain}net walletbalance | grep '"unconfirmed_balance"' | cut -d '"' -f4)
|
||||||
if [ ${unconfirmed} -gt 0 ]; then
|
if [ ${unconfirmed} -gt 0 ]; then
|
||||||
whiptail--title 'Info' --yes-button='Cashout Anyway' --no-button='Go Back' --yesno "Still waiting confirmation for ${unconfirmed} sat.\nNOTICE: Just confirmed on-chain funds can be moved." 6 58
|
whiptail --title 'Info' --yes-button='Cashout Anyway' --no-button='Go Back' --yesno "Still waiting confirmation for ${unconfirmed} sat.\nNOTICE: Just confirmed on-chain funds can be moved." 6 58
|
||||||
if [ $? -eq 1 ]; then
|
if [ $? -eq 1 ]; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user