This commit is contained in:
Arc
2026-02-13 16:58:56 +02:00
committed by Vlad Stan
parent e261fdd776
commit b688c918c1
2 changed files with 6 additions and 2 deletions
+1 -1
View File
@@ -3,8 +3,8 @@ import json
from typing import Any
import httpx
from loguru import logger
from bolt11 import decode as bolt11_decode
from loguru import logger
from lnbits.helpers import normalize_endpoint
from lnbits.settings import settings
+5 -1
View File
@@ -186,7 +186,11 @@ const server = http.createServer(async (req, res) => {
payment.id &&
!isSendTerminal(payment.status)
) {
const refreshed = await waitForSendStatus(wallet, payment.id, PAY_WAIT_MS)
const refreshed = await waitForSendStatus(
wallet,
payment.id,
PAY_WAIT_MS
)
if (refreshed) {
payment = refreshed
}