trusted_daemon is now a config var upstream in the wallet, not in the other systems.

This commit is contained in:
Alexander Blair
2017-02-25 08:13:32 -08:00
parent 527d0965db
commit 8ab38b4d79
4 changed files with 8 additions and 13 deletions
+5 -10
View File
@@ -105,8 +105,7 @@ let shapeshiftQueue = async.queue(function (task, callback) {
}
],
mixin: global.config.payout.mixIn,
payment_id: shapeshiftTxnData.deposit,
trusted_daemon: true
payment_id: shapeshiftTxnData.deposit
};
debug("Payment Details: " + JSON.stringify(paymentDetails));
paymentQueue.push(paymentDetails, function (body) {
@@ -256,8 +255,7 @@ let xmrToQueue = async.queue(function (task, callback) {
}
],
mixin: global.config.payout.mixIn,
payment_id: orderStatus.xmr_required_payment_id,
trusted_daemon: true
payment_id: orderStatus.xmr_required_payment_id
};
debug("Payment Details: " + JSON.stringify(paymentDetails));
paymentQueue.push(paymentDetails, function (body) {
@@ -500,8 +498,7 @@ function Payee(amount, address, paymentID, bitcoin) {
}
],
mixin: global.config.payout.mixIn,
payment_id: this.paymentID,
trusted_daemon: true
payment_id: this.paymentID
};
let identifier = this.id;
let amount = this.amount;
@@ -531,8 +528,7 @@ function Payee(amount, address, paymentID, bitcoin) {
address: this.address
}
],
mixin: global.config.payout.mixIn,
trusted_daemon: true
mixin: global.config.payout.mixIn
};
let identifier = this.id;
let amount = this.amount;
@@ -639,8 +635,7 @@ function makePayments() {
while (paymentDestinations.length > 0) {
let paymentDetails = {
destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns),
mixin: global.config.payout.mixIn,
trusted_daemon: true
mixin: global.config.payout.mixIn
};
console.log("Paying out: " + paymentDetails.destinations.length + " people");
paymentQueue.push(paymentDetails, function (body) {