From b83fb1d5d80aa75f024d883eadd39040b3ebf8cb Mon Sep 17 00:00:00 2001 From: calle <93376500+callebtc@users.noreply.github.com> Date: Thu, 4 Aug 2022 18:40:46 +0200 Subject: [PATCH] VoidWallet: return PaymentStatus(None) (#845) --- lnbits/wallets/void.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lnbits/wallets/void.py b/lnbits/wallets/void.py index 1139f7a88..d6a01d3ad 100644 --- a/lnbits/wallets/void.py +++ b/lnbits/wallets/void.py @@ -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 ""