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 payment.check_status()
|
||||||
|
|
||||||
await asyncio.sleep(0.1)
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
"payment_preimage": payment.preimage,
|
"payment_preimage": payment.preimage,
|
||||||
|
|
@ -180,7 +178,6 @@ async def lndhub_getuserinvoices(
|
||||||
await invoice.set_pending(
|
await invoice.set_pending(
|
||||||
(await WALLET.get_invoice_status(invoice.checking_id)).pending
|
(await WALLET.get_invoice_status(invoice.checking_id)).pending
|
||||||
)
|
)
|
||||||
await asyncio.sleep(0.1)
|
|
||||||
|
|
||||||
return [
|
return [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue