mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Update payments.js
This commit is contained in:
+2
-2
@@ -672,12 +672,13 @@ function makePayments() {
|
||||
}
|
||||
|
||||
function init() {
|
||||
determineBestExchange();
|
||||
global.support.rpcWallet("store", [], function () {
|
||||
});
|
||||
if (global.config.allowBitcoin) {
|
||||
determineBestExchange();
|
||||
setInterval(updateXMRToCompletion, 90000);
|
||||
setInterval(updateShapeshiftCompletion, 90000);
|
||||
setInterval(determineBestExchange, 60000);
|
||||
}
|
||||
setInterval(function () {
|
||||
global.support.rpcWallet("sweep_dust", [], function () {
|
||||
@@ -687,7 +688,6 @@ function init() {
|
||||
global.support.rpcWallet("store", [], function () {
|
||||
});
|
||||
}, 60000);
|
||||
setInterval(determineBestExchange, 60000);
|
||||
console.log("Setting the payment timer to: " + global.config.payout.timer + " minutes with a: " + global.config.payout.timerRetry + " minute delay if the wallet is out of money");
|
||||
makePayments();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user