From a40823de43b2d7d52af90cbd7b7ab6ec42b9438c Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Sat, 9 May 2020 17:29:24 +0100 Subject: [PATCH] Update lntxbot.py --- lnbits/wallets/lntxbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/wallets/lntxbot.py b/lnbits/wallets/lntxbot.py index d78e643..57bcdbf 100644 --- a/lnbits/wallets/lntxbot.py +++ b/lnbits/wallets/lntxbot.py @@ -49,7 +49,7 @@ class LntxbotWallet(Wallet): data = r.json() - if "preimage" not in data or not data["preimage"]: + if "preimage" not in data: return PaymentStatus(False) return PaymentStatus(True)