mirror of
https://github.com/lnbits/lnbits.git
synced 2025-09-20 13:04:23 +02:00
nicer print checking status.
This commit is contained in:
@@ -146,7 +146,7 @@ class Payment(NamedTuple):
|
|||||||
status = await WALLET.get_invoice_status(self.checking_id)
|
status = await WALLET.get_invoice_status(self.checking_id)
|
||||||
|
|
||||||
print(
|
print(
|
||||||
f" - checking '{'in' if self.is_in else 'out'}' {self.checking_id}: {status.paid}"
|
f" - checking '{'in' if self.is_in else 'out'}' {self.checking_id}: {status}"
|
||||||
)
|
)
|
||||||
|
|
||||||
if self.is_out and status.failed:
|
if self.is_out and status.failed:
|
||||||
|
Reference in New Issue
Block a user