Skip to content

Commit 096e04c

Browse files
committed
save unconfirmed pos requests
1 parent 9d2c54f commit 096e04c

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

assets_js_bitrequest_polling.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,8 @@ function tx_polling(tx_data, api_dat, retry) {
3636
if (request) {
3737
const txhash = tx_data.txhash;
3838
if (txhash) {
39+
confirmations(tx_data, true);
3940
if (!tx_data.setconfirmations) {
40-
confirmations(tx_data, true);
4141
return
4242
}
4343
const eth_layer2 = tx_data.eth_layer2;

assets_js_bitrequest_sockets.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -620,6 +620,7 @@ function blockcypher_websocket(socket_node, thisaddress) {
620620
popdialog(content, "canceldialog");
621621
return
622622
}
623+
closesocket();
623624
tx_polling_init(txd);
624625
};
625626
websocket.onclose = function(e) {

assets_js_lib_crypto_utils.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -923,7 +923,7 @@ function bch_legacy(cadr) {
923923
unbuf = buf2hex(conc);
924924
return b58check_encode(unbuf);
925925
} catch (e) {
926-
console.error(e.name, e.message);
926+
//console.error(e.name, e.message);
927927
return cadr
928928
}
929929
}

0 commit comments

Comments
 (0)