broken invoice listener on c-lightning and other fixes around wallets.

This commit is contained in:
fiatjaf
2020-10-04 12:05:59 -03:00
parent b3c69ad49c
commit e74cf33f90
9 changed files with 105 additions and 51 deletions
+2
View File
@@ -1,3 +1,4 @@
import asyncio
from os import getenv
from typing import Optional, Dict, AsyncGenerator
from requests import get, post
@@ -67,4 +68,5 @@ class LNbitsWallet(Wallet):
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
print("lnbits does not support paid invoices stream yet")
await asyncio.sleep(5)
yield ""