mirror of
https://github.com/lnbits/lnbits-legend.git
synced 2025-02-24 06:48:02 +01: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
1 changed files with 0 additions and 3 deletions
|
@ -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…
Add table
Reference in a new issue