Merge pull request #388 from arcbtc/FastAPI

restored create invoice api endpoint
This commit is contained in:
Arc 2021-11-03 15:24:48 +00:00 committed by GitHub
commit 7c06991d94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -115,7 +115,7 @@ class CLightningWallet(Wallet):
raise KeyError("supplied an invalid checking_id") raise KeyError("supplied an invalid checking_id")
async def paid_invoices_stream(self) -> AsyncGenerator[str, None]: async def paid_invoices_stream(self) -> AsyncGenerator[str, None]:
stream = await asyncio.open_unix_socket(self.rpc) stream = await asyncio.open_unix_connection(self.rpc)
i = 0 i = 0
while True: while True: