mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
trusted_daemon is now a config var upstream in the wallet, not in the other systems.
This commit is contained in:
+5
-10
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user