fix: Infinite invoice listener loop with VoidWallet (#4061)
Some checks failed
codeql / analyze (push) Waiting to run
LNbits CI / nix / nix (push) Has been cancelled

This commit is contained in:
blackcoffeexbt 2026-07-15 19:33:48 +01:00 committed by GitHub
parent 53a1ae5e53
commit 09c6e7239d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,5 +1,3 @@
from collections.abc import AsyncGenerator
from loguru import logger
from .base import (
@ -40,6 +38,3 @@ class VoidWallet(Wallet):
async def get_payment_status(self, *_, **__) -> PaymentStatus:
return PaymentPendingStatus()
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
yield ""