Resetting the setInterval system so it can't blow up in our faces.
This commit is contained in:
parent
9fd46553b9
commit
0d8afd850f
1 changed files with 1 additions and 1 deletions
|
|
@ -294,7 +294,7 @@ let paymentQueue = async.queue(function (paymentDetails, callback) {
|
|||
payments Payment made: {"id":"0","jsonrpc":"2.0","result":{"fee":40199391255,"tx_hash":"c418708643f72635edf522490bfb2cae9d42a6dc1df30dcde844862dfd88f5b3","tx_key":""}} +2s
|
||||
*/
|
||||
if (paymentTimer !== null){
|
||||
paymentTimer.cancel();
|
||||
clearInterval(paymentTimer);
|
||||
paymentTimer = null;
|
||||
}
|
||||
debug("Making payment based on: " + JSON.stringify(paymentDetails));
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue