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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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: