Adding trusted_daemon: true as a default arg to the RPC for txns for 0.10.2 monero.
This commit is contained in:
parent
a5c0558989
commit
abfe00b1e0
1 changed files with 10 additions and 5 deletions
|
|
@ -105,7 +105,8 @@ let shapeshiftQueue = async.queue(function (task, callback) {
|
|||
}
|
||||
],
|
||||
mixin: global.config.payout.mixIn,
|
||||
payment_id: shapeshiftTxnData.deposit
|
||||
payment_id: shapeshiftTxnData.deposit,
|
||||
trusted_daemon: true
|
||||
};
|
||||
debug("Payment Details: " + JSON.stringify(paymentDetails));
|
||||
paymentQueue.push(paymentDetails, function (body) {
|
||||
|
|
@ -255,7 +256,8 @@ let xmrToQueue = async.queue(function (task, callback) {
|
|||
}
|
||||
],
|
||||
mixin: global.config.payout.mixIn,
|
||||
payment_id: orderStatus.xmr_required_payment_id
|
||||
payment_id: orderStatus.xmr_required_payment_id,
|
||||
trusted_daemon: true
|
||||
};
|
||||
debug("Payment Details: " + JSON.stringify(paymentDetails));
|
||||
paymentQueue.push(paymentDetails, function (body) {
|
||||
|
|
@ -498,7 +500,8 @@ function Payee(amount, address, paymentID, bitcoin) {
|
|||
}
|
||||
],
|
||||
mixin: global.config.payout.mixIn,
|
||||
payment_id: this.paymentID
|
||||
payment_id: this.paymentID,
|
||||
trusted_daemon: true
|
||||
};
|
||||
let identifier = this.id;
|
||||
let amount = this.amount;
|
||||
|
|
@ -528,7 +531,8 @@ function Payee(amount, address, paymentID, bitcoin) {
|
|||
address: this.address
|
||||
}
|
||||
],
|
||||
mixin: global.config.payout.mixIn
|
||||
mixin: global.config.payout.mixIn,
|
||||
trusted_daemon: true
|
||||
};
|
||||
let identifier = this.id;
|
||||
let amount = this.amount;
|
||||
|
|
@ -635,7 +639,8 @@ function makePayments() {
|
|||
while (paymentDestinations.length > 0) {
|
||||
let paymentDetails = {
|
||||
destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns),
|
||||
mixin: global.config.payout.mixIn
|
||||
mixin: global.config.payout.mixIn,
|
||||
trusted_daemon: true
|
||||
};
|
||||
console.log("Paying out: " + paymentDetails.destinations.length + " people");
|
||||
paymentQueue.push(paymentDetails, function (body) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue