bug: wrong pending status (#2352)

This commit is contained in:
Arc
2024-03-24 12:58:15 +00:00
committed by GitHub
parent 7dcb2fcdd5
commit 7783f34998

View File

@@ -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: