VoidWallet: return PaymentStatus(None) (#845)
This commit is contained in:
@@ -31,10 +31,10 @@ class VoidWallet(Wallet):
|
|||||||
raise Unsupported("")
|
raise Unsupported("")
|
||||||
|
|
||||||
async def get_invoice_status(self, checking_id: str) -> PaymentStatus:
|
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:
|
async def get_payment_status(self, checking_id: str) -> PaymentStatus:
|
||||||
raise Unsupported("")
|
return PaymentStatus(None)
|
||||||
|
|
||||||
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
|
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
|
||||||
yield ""
|
yield ""
|
||||||
|
|||||||
Reference in New Issue
Block a user