lndhub: remove delays (#954)

Remove the delays in gettxs and getuserinvoices calls to support wallets that use
the lndhub extension.
This commit is contained in:
Jesse de Wit 2022-09-09 16:03:02 +02:00 committed by GitHub
parent 4662a79c3b
commit f30ca2cf43
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -132,8 +132,6 @@ async def lndhub_gettxs(
):
await payment.check_status()
await asyncio.sleep(0.1)
return [
{
"payment_preimage": payment.preimage,
@ -180,7 +178,6 @@ async def lndhub_getuserinvoices(
await invoice.set_pending(
(await WALLET.get_invoice_status(invoice.checking_id)).pending
)
await asyncio.sleep(0.1)
return [
{