VoidWallet: return PaymentStatus(None) (#845)

This commit is contained in:
calle 2022-08-04 18:40:46 +02:00 committed by GitHub
parent 7fc1361475
commit b83fb1d5d8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,10 +31,10 @@ class VoidWallet(Wallet):
raise Unsupported("")
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
raise Unsupported("")
return PaymentStatus(None)
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
raise Unsupported("")
return PaymentStatus(None)
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
yield ""