mirror of
https://github.com/raspiblitz/raspiblitz.git
synced 2025-04-11 21:29:29 +02:00
fix 0 sat check
This commit is contained in:
parent
3b7d7748fa
commit
aa971ba684
@ -31,7 +31,7 @@ fi
|
||||
|
||||
# get available amount in on-chain wallet
|
||||
maxAmount=$(lncli --chain=${network} walletbalance | grep '"confirmed_balance"' | cut -d '"' -f4)
|
||||
if [ ${maxAmount} -gt 0 ]; then
|
||||
if [ ${maxAmount} -eq 0 ]; then
|
||||
dialog --title 'Info' --msgbox "You have 0 moveable funds available.\nNOTICE: Just confirmed on-chain funds can be moved." 6 58
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user