mirror of
https://github.com/lnbits/lnbits.git
synced 2026-08-13 12:42:47 +02:00
fix: Infinite invoice listener loop with VoidWallet (#4061)
This commit is contained in:
parent
53a1ae5e53
commit
09c6e7239d
1 changed files with 0 additions and 5 deletions
|
|
@ -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 ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue