started promisifying the functions
This commit is contained in:
parent
803abd5a4a
commit
2eb1383142
@ -8477,28 +8477,6 @@
|
||||
typeof global !== 'undefined' ? global : window);
|
||||
</script>
|
||||
<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) {
|
||||
|
||||
//Defining Elliptic Encryption Object
|
||||
@ -9733,18 +9711,15 @@
|
||||
receivedTradeInfo.status = 2; // withdrawer found. Now deposit money to his account
|
||||
updateinDB("deposit", receivedTradeInfo, receivedTradeInfo.trader_flo_address);
|
||||
|
||||
let
|
||||
withdrawer_bank_account =
|
||||
withdrawer
|
||||
.receivinAddress;
|
||||
let withdrawer_bank_account = withdrawer.receivinAddress;
|
||||
|
||||
let deposit_response_object = {
|
||||
error: false,
|
||||
method: "deposit_asset_request_response",
|
||||
msg: `Plese send the money to following bank address: "${withdrawer_bank_account}"`,
|
||||
data: receivedTradeInfo,
|
||||
withdrawer_data: withdrawer
|
||||
};
|
||||
error: false,
|
||||
method: "deposit_asset_request_response",
|
||||
msg: `Plese send the money to following bank address: "${withdrawer_bank_account}"`,
|
||||
data: receivedTradeInfo,
|
||||
withdrawer_data: withdrawer
|
||||
};
|
||||
let deposit_request_response =
|
||||
localbitcoinplusplus
|
||||
.rpc
|
||||
@ -9954,6 +9929,7 @@
|
||||
let withdrawer_cash_balance = parseFloat(cash_balances_res.cash_balance);
|
||||
let withdrawing_cash_amount = parseFloat(params.withdrawing_amount);
|
||||
let bank_details = params.receivinAddress.trim();
|
||||
|
||||
if (withdrawer_cash_balance > 0 &&
|
||||
withdrawing_cash_amount > 0 &&
|
||||
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