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