diff --git a/lib/utils.js b/lib/utils.js index d9ba93c..515cffa 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -24,6 +24,7 @@ exports.instanceId = function () { /** * Validate miner address **/ + var addressBase58 = parseInt(cnUtil.address_decode(new Buffer(config.poolAddress)).toString()); var addressBase58Prefix = config.poolServer.pubAddressPrefix ? parseInt(config.poolServer.pubAddressPrefix) : parseInt(cnUtil.address_decode(Buffer.from(config.poolServer.poolAddress)).toString()); let integratedAddressBase58Prefix = config.poolServer.intAddressPrefix ? parseInt(config.poolServer.intAddressPrefix) : addressBase58Prefix + 1; diff --git a/website_example/index.html b/website_example/index.html index 7972445..815a065 100644 --- a/website_example/index.html +++ b/website_example/index.html @@ -4,9 +4,9 @@ -