make
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user