Update payments.js

master
Snipa22 7 years ago committed by GitHub
parent f136eae607
commit 1cb4aca08e

@ -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();
}

Loading…
Cancel
Save