Skip to content

Commit

Permalink
bug: wrong pending status (lnbits#2352)
Browse files Browse the repository at this point in the history
  • Loading branch information
arcbtc authored Mar 24, 2024
1 parent 7dcb2fc commit 7783f34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lnbits/wallets/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 7783f34

Please sign in to comment.