From 7ada474f672d7a33c3824b2f1f26ee8243834d10 Mon Sep 17 00:00:00 2001 From: Learner Date: Sun, 4 Feb 2018 14:05:35 +0700 Subject: [PATCH] Add return for uniform code (not a bug, comestics) It's not a bug, just to be better look. --- lib/coins/aeon.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/coins/aeon.js b/lib/coins/aeon.js index 4d0f934..c68082d 100644 --- a/lib/coins/aeon.js +++ b/lib/coins/aeon.js @@ -26,7 +26,7 @@ function Coin(data){ this.supportsAutoExchange = false; - this.niceHashDiff = 200000; + this.niceHashDiff = 400000; this.getBlockHeaderByID = function(blockId, callback){ global.support.rpcDaemon('getblockheaderbyheight', {"height": blockId}, function (body) { @@ -34,7 +34,7 @@ function Coin(data){ return callback(null, body.result.block_header); } else { console.error(JSON.stringify(body)); - callback(true, body); + return callback(true, body); } }); };