fixed issue in confirms functions
This commit is contained in:
parent
29f75a653a
commit
e470ccfb74
@ -13974,6 +13974,7 @@
|
|||||||
|
|
||||||
element.addEventListener("click", function(evt) {
|
element.addEventListener("click", function(evt) {
|
||||||
evt.preventDefault();
|
evt.preventDefault();
|
||||||
|
let btn = this;
|
||||||
const withdraw_id = this.value;
|
const withdraw_id = this.value;
|
||||||
const req_info = document.getElementById(`withdrawSpan${withdraw_id}`);
|
const req_info = document.getElementById(`withdrawSpan${withdraw_id}`);
|
||||||
const req_info_arr = req_info.value.split("_");
|
const req_info_arr = req_info.value.split("_");
|
||||||
@ -14008,7 +14009,7 @@
|
|||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
});
|
}.bind(btn));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
45
index.html
45
index.html
@ -12334,7 +12334,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
|
|
||||||
const su_db_data = await localbitcoinplusplus.actions.get_sharable_db_data(
|
const su_db_data = await localbitcoinplusplus.actions.get_sharable_db_data(
|
||||||
@ -12379,7 +12380,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
|
|
||||||
const su_db_data = await localbitcoinplusplus.actions.get_sharable_db_data(
|
const su_db_data = await localbitcoinplusplus.actions.get_sharable_db_data(
|
||||||
@ -13621,7 +13623,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
|
|
||||||
const su_db_data = await localbitcoinplusplus.actions.get_sharable_db_data(
|
const su_db_data = await localbitcoinplusplus.actions.get_sharable_db_data(
|
||||||
@ -13839,9 +13842,9 @@
|
|||||||
.findIndex(x => x.trader_flo_address ===backup_nodes[backup_nodes.length-1]);
|
.findIndex(x => x.trader_flo_address ===backup_nodes[backup_nodes.length-1]);
|
||||||
|
|
||||||
// Don't sync backup if far_left_backup_node_index is 0 or 1 etc
|
// Don't sync backup if far_left_backup_node_index is 0 or 1 etc
|
||||||
if(far_left_backup_node_index<localbitcoinplusplus.MaxBackups) return false;
|
if(far_left_backup_node_index<localbitcoinplusplus.master_configurations.MaxBackups) return false;
|
||||||
|
|
||||||
let far_left_backup_node = closestSuNodes[far_left_backup_node_index-1].trader_flo_address;
|
let far_left_backup_node = closestSuNodes[far_left_backup_node_index].trader_flo_address;
|
||||||
|
|
||||||
reactor.dispatchEvent(
|
reactor.dispatchEvent(
|
||||||
"sync_backup_nodes_of_my_backup_node",
|
"sync_backup_nodes_of_my_backup_node",
|
||||||
@ -13874,7 +13877,7 @@
|
|||||||
m
|
m
|
||||||
);
|
);
|
||||||
if (typeof getSuStatus[0] == "object") {
|
if (typeof getSuStatus[0] == "object") {
|
||||||
if (getSuStatus[0].is_live == false) {
|
if (getSuStatus[0].is_live !== true) {
|
||||||
console.log(getSuStatus[0].trader_flo_address);
|
console.log(getSuStatus[0].trader_flo_address);
|
||||||
if (
|
if (
|
||||||
localbitcoinplusplus.wallets.my_local_flo_address !==
|
localbitcoinplusplus.wallets.my_local_flo_address !==
|
||||||
@ -16757,7 +16760,7 @@
|
|||||||
RM_WALLET.verify(
|
RM_WALLET.verify(
|
||||||
cancel_request.trade_id,
|
cancel_request.trade_id,
|
||||||
cancel_request.signed_trade_id,
|
cancel_request.signed_trade_id,
|
||||||
res_obj.nodePubKey
|
request.nodePubKey
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
removeinDB(tradeDB, cancel_request.trade_id).then(
|
removeinDB(tradeDB, cancel_request.trade_id).then(
|
||||||
@ -18564,7 +18567,7 @@
|
|||||||
RM_WALLET.verify(
|
RM_WALLET.verify(
|
||||||
cancel_request.trade_id,
|
cancel_request.trade_id,
|
||||||
cancel_request.signed_trade_id,
|
cancel_request.signed_trade_id,
|
||||||
nodePubKey.trader_flo_pubKey
|
request.nodePubKey
|
||||||
)
|
)
|
||||||
) {
|
) {
|
||||||
backup_server_db_instance
|
backup_server_db_instance
|
||||||
@ -21936,7 +21939,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
/* Sync/Forward data of all Supernodes between res_obj.initialSender (i.e
|
/* Sync/Forward data of all Supernodes between res_obj.initialSender (i.e
|
||||||
node which informed you about a another node's death)
|
node which informed you about a another node's death)
|
||||||
@ -23224,7 +23228,9 @@
|
|||||||
"cash_balances",
|
"cash_balances",
|
||||||
"userPublicData",
|
"userPublicData",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders"
|
"sellOrders",
|
||||||
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
localbitcoinplusplus.actions
|
localbitcoinplusplus.actions
|
||||||
.get_sharable_db_data(tableArray)
|
.get_sharable_db_data(tableArray)
|
||||||
@ -23651,7 +23657,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
|
|
||||||
let del_promise = [];
|
let del_promise = [];
|
||||||
@ -25259,7 +25266,9 @@
|
|||||||
"cash_balances",
|
"cash_balances",
|
||||||
"userPublicData",
|
"userPublicData",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders"
|
"sellOrders",
|
||||||
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
localbitcoinplusplus.actions
|
localbitcoinplusplus.actions
|
||||||
.get_sharable_db_data(tableArray)
|
.get_sharable_db_data(tableArray)
|
||||||
@ -25894,7 +25903,9 @@
|
|||||||
"cash_balances",
|
"cash_balances",
|
||||||
"userPublicData",
|
"userPublicData",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders"
|
"sellOrders",
|
||||||
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
localbitcoinplusplus.actions
|
localbitcoinplusplus.actions
|
||||||
.get_sharable_db_data(tableArray)
|
.get_sharable_db_data(tableArray)
|
||||||
@ -27291,7 +27302,7 @@
|
|||||||
trader_flo_address:
|
trader_flo_address:
|
||||||
res_obj.globalParams.senderFloId,
|
res_obj.globalParams.senderFloId,
|
||||||
server_msg: `A new Supernode is live and synced. You will now be connected to ${res_obj.globalParams.senderFloId}.
|
server_msg: `A new Supernode is live and synced. You will now be connected to ${res_obj.globalParams.senderFloId}.
|
||||||
The process can take some time. You will be notified shortly once system is ready to serve.`
|
The process can take some time. You will be notified shortly once system is ready to serve.`
|
||||||
})
|
})
|
||||||
.then(server_response => doSend(server_response));
|
.then(server_response => doSend(server_response));
|
||||||
|
|
||||||
@ -27304,7 +27315,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
|
|
||||||
let backup_database = "";
|
let backup_database = "";
|
||||||
@ -27823,7 +27835,8 @@
|
|||||||
"crypto_balances",
|
"crypto_balances",
|
||||||
"buyOrders",
|
"buyOrders",
|
||||||
"sellOrders",
|
"sellOrders",
|
||||||
"system_btc_reserves_private_keys"
|
"system_btc_reserves_private_keys",
|
||||||
|
"supernode_private_key_chunks"
|
||||||
];
|
];
|
||||||
|
|
||||||
let del_promise = [];
|
let del_promise = [];
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user