started promisifying the functions
This commit is contained in:
parent
803abd5a4a
commit
2eb1383142
@ -8477,28 +8477,6 @@
|
|||||||
typeof global !== 'undefined' ? global : window);
|
typeof global !== 'undefined' ? global : window);
|
||||||
</script>
|
</script>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
|
|
||||||
/*
|
|
||||||
var person = {
|
|
||||||
firstName: "John",
|
|
||||||
lastName : "Doe",
|
|
||||||
id : 5566,
|
|
||||||
fullName : function() {
|
|
||||||
return this.firstName + " " + this.lastName;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
*/
|
|
||||||
|
|
||||||
/*
|
|
||||||
if (typeof ellipticCurveEncryption == "undefined" || !ellipticCurveEncryption) {
|
|
||||||
(function () {
|
|
||||||
|
|
||||||
|
|
||||||
// Global Crypto object
|
|
||||||
var ellipticCurveEncryption = window.ellipticCurveEncryption = {};
|
|
||||||
*/
|
|
||||||
|
|
||||||
(function (ellipticCurveType) {
|
(function (ellipticCurveType) {
|
||||||
|
|
||||||
//Defining Elliptic Encryption Object
|
//Defining Elliptic Encryption Object
|
||||||
@ -9733,18 +9711,15 @@
|
|||||||
receivedTradeInfo.status = 2; // withdrawer found. Now deposit money to his account
|
receivedTradeInfo.status = 2; // withdrawer found. Now deposit money to his account
|
||||||
updateinDB("deposit", receivedTradeInfo, receivedTradeInfo.trader_flo_address);
|
updateinDB("deposit", receivedTradeInfo, receivedTradeInfo.trader_flo_address);
|
||||||
|
|
||||||
let
|
let withdrawer_bank_account = withdrawer.receivinAddress;
|
||||||
withdrawer_bank_account =
|
|
||||||
withdrawer
|
|
||||||
.receivinAddress;
|
|
||||||
|
|
||||||
let deposit_response_object = {
|
let deposit_response_object = {
|
||||||
error: false,
|
error: false,
|
||||||
method: "deposit_asset_request_response",
|
method: "deposit_asset_request_response",
|
||||||
msg: `Plese send the money to following bank address: "${withdrawer_bank_account}"`,
|
msg: `Plese send the money to following bank address: "${withdrawer_bank_account}"`,
|
||||||
data: receivedTradeInfo,
|
data: receivedTradeInfo,
|
||||||
withdrawer_data: withdrawer
|
withdrawer_data: withdrawer
|
||||||
};
|
};
|
||||||
let deposit_request_response =
|
let deposit_request_response =
|
||||||
localbitcoinplusplus
|
localbitcoinplusplus
|
||||||
.rpc
|
.rpc
|
||||||
@ -9954,6 +9929,7 @@
|
|||||||
let withdrawer_cash_balance = parseFloat(cash_balances_res.cash_balance);
|
let withdrawer_cash_balance = parseFloat(cash_balances_res.cash_balance);
|
||||||
let withdrawing_cash_amount = parseFloat(params.withdrawing_amount);
|
let withdrawing_cash_amount = parseFloat(params.withdrawing_amount);
|
||||||
let bank_details = params.receivinAddress.trim();
|
let bank_details = params.receivinAddress.trim();
|
||||||
|
|
||||||
if (withdrawer_cash_balance > 0 &&
|
if (withdrawer_cash_balance > 0 &&
|
||||||
withdrawing_cash_amount > 0 &&
|
withdrawing_cash_amount > 0 &&
|
||||||
withdrawer_cash_balance >=
|
withdrawer_cash_balance >=
|
||||||
|
|||||||
12337
supernode/index_promises.html
Normal file
12337
supernode/index_promises.html
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user