From 7783f3499803bab21dba16c56da1650ec2383898 Mon Sep 17 00:00:00 2001 From: Arc <33088785+arcbtc@users.noreply.github.com> Date: Sun, 24 Mar 2024 12:58:15 +0000 Subject: [PATCH] bug: wrong pending status (#2352) --- lnbits/wallets/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lnbits/wallets/base.py b/lnbits/wallets/base.py index ce59f140b2..031cccc88d 100644 --- a/lnbits/wallets/base.py +++ b/lnbits/wallets/base.py @@ -35,7 +35,7 @@ class PaymentStatus(NamedTuple): @property def pending(self) -> bool: - return self.paid is None + return self.paid is not True @property def failed(self) -> bool: