Skip to content

Commit 3c9d10c

Browse files
committed
local boltcard detection
1 parent cd3830c commit 3c9d10c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

assets_js_bitrequest_sockets.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,14 +562,14 @@ async function process_nfc_payment(proxy_host, proxy_key, payment_id, node_id, i
562562
return
563563
}
564564
if (callback_response.status === "OK") {
565+
request.boltcard = true;
565566
stop_monitors(payment_id);
566567
close_socket(payment_id);
567568
stop_nfc_scan();
568569
lnd_poll_invoice(proxy_host, proxy_key, invoice_mode, invoice_result, payment_id, node_id, true);
569570
glob_let.pinging[invoice_result.hash] = setInterval(function() {
570571
lnd_poll_invoice(proxy_host, proxy_key, invoice_mode, invoice_result, payment_id, node_id);
571572
}, 3000);
572-
request.boltcard = true;
573573
return
574574
}
575575
}).fail(function(xhr, stat, err) {

0 commit comments

Comments
 (0)