diff --git a/supernode/index.html b/supernode/index.html
index c973b24..fa97922 100644
--- a/supernode/index.html
+++ b/supernode/index.html
@@ -12891,7 +12891,7 @@
throw new Error(err_msg);
}
- backup_server_db_instance.backup_readDB("localbitcoinUser", "00-01").then(
+ readDB("localbitcoinUser", "00-01").then(
function (su_data) {
if (typeof su_data == "object" &&
typeof su_data.myLocalFLOPublicKey ==
@@ -13409,7 +13409,7 @@
// doSend btc_private_key_shamirs_id from system_btc_reserves_private_keys
valid_btc_list.map(vbl => {
- readDBbyIndex
+ backup_server_db_instance.backup_readDBbyIndex
(
'system_btc_reserves_private_keys',
'btc_address',
@@ -16809,7 +16809,7 @@
&& res_obj.method !== "sync_backup_supernode_from_backup_supernode"
&& res_obj.method !== "link_My_Local_IP_To_My_Flo_Id"
&& res_obj.method !== "link_Others_Local_IP_To_Their_Flo_Id"
- //&& res_obj.method !== "add_user_public_data"
+ && res_obj.method !== "send_back_shamirs_secret_btc_pvtkey"
) {
if (localbitcoinplusplus.master_configurations.supernodesPubKeys
.includes(localbitcoinplusplus.wallets.my_local_flo_public_key)) {
@@ -20728,8 +20728,8 @@
_readDB('crypto_balances', trader_depositor_cash_id).then(function (res_btc_balances) {
if (typeof res_btc_balances == "object" && typeof res_btc_balances.result ==
"object" && typeof res_btc_balances.crypto_balance == "number") {
- updatedCryptobalances.crypto_balance += parseFloat(res_btc_balances
- .crypto_balance);
+ updatedCryptobalances.crypto_balance = Number(parseFloat(res_btc_balances
+ .crypto_balance + updatedCryptobalances.crypto_balance));
}
// Update crypto balance of user in crypto_balances
_updateinDB("crypto_balances", updatedCryptobalances, trader_deposits.btc_address)