mirror of
https://github.com/lnbits/lnbits.git
synced 2025-04-07 19:38:13 +02:00
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:
parent
4662a79c3b
commit
f30ca2cf43
@ -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 [
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user