Merge pull request #292 from bobbieltd/patch-4

Add return for uniform code (not a bug, comestics)

-- Nice catch.
This commit is contained in:
Snipa22
2018-02-06 01:04:56 -08:00
committed by GitHub
+2 -2
View File
@@ -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);
}
});
};