|
|
|
@ -98,7 +98,8 @@ function Payee(amount, address, paymentID, bitcoin) {
|
|
|
|
|
address: this.address
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
priority: global.config.payout.priority,
|
|
|
|
|
fee: 10000000000,
|
|
|
|
|
unlock_time: 0,
|
|
|
|
|
mixin: global.config.payout.mixIn,
|
|
|
|
|
payment_id: this.paymentID
|
|
|
|
|
};
|
|
|
|
@ -130,7 +131,8 @@ function Payee(amount, address, paymentID, bitcoin) {
|
|
|
|
|
address: this.address
|
|
|
|
|
}
|
|
|
|
|
],
|
|
|
|
|
priority: global.config.payout.priority,
|
|
|
|
|
fee: 10000000000,
|
|
|
|
|
unlock_time: 0,
|
|
|
|
|
mixin: global.config.payout.mixIn
|
|
|
|
|
};
|
|
|
|
|
let identifier = this.id;
|
|
|
|
@ -208,8 +210,9 @@ function makePayments() {
|
|
|
|
|
while (paymentDestinations.length > 0) {
|
|
|
|
|
let paymentDetails = {
|
|
|
|
|
destinations: paymentDestinations.splice(0, global.config.payout.maxPaymentTxns),
|
|
|
|
|
priority: global.config.payout.priority,
|
|
|
|
|
mixin: global.config.payout.mixIn
|
|
|
|
|
mixin: global.config.payout.mixIn,
|
|
|
|
|
fee: 10000000000,
|
|
|
|
|
unlock_time: 0
|
|
|
|
|
};
|
|
|
|
|
console.log("Paying out: " + paymentDetails.destinations.length + " people");
|
|
|
|
|
paymentQueue.push(paymentDetails, function (body) { //jshint ignore:line
|
|
|
|
|