mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-28 12:56:16 +02:00
bug: wrong pending status (#2352)
This commit is contained in:
@@ -35,7 +35,7 @@ class PaymentStatus(NamedTuple):
|
|||||||
|
|
||||||
@property
|
@property
|
||||||
def pending(self) -> bool:
|
def pending(self) -> bool:
|
||||||
return self.paid is None
|
return self.paid is not True
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def failed(self) -> bool:
|
def failed(self) -> bool:
|
||||||
|
Reference in New Issue
Block a user