From e19d6a5c3ee66a7945325c5e1b1caf28bfc1772b Mon Sep 17 00:00:00 2001 From: Interchained Date: Mon, 12 Oct 2020 20:56:17 -0400 Subject: [PATCH] Update utils.js --- lib/utils.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/utils.js b/lib/utils.js index 73f9999..bb7f474 100644 --- a/lib/utils.js +++ b/lib/utils.js @@ -24,8 +24,7 @@ exports.instanceId = function () { /** * Validate miner address **/ -let addressBase58Prefix = parseInt(cnUtil.address_decode(Buffer.from(config.poolServer.poolAddress)) - .toString()); +let addressBase58Prefix = parseInt(cnUtil.address_decode(Buffer.from(config.poolServer.poolAddress)).toString()); let integratedAddressBase58Prefix = config.poolServer.intAddressPrefix ? parseInt(config.poolServer.intAddressPrefix) : addressBase58Prefix + 1; let subAddressBase58Prefix = config.poolServer.subAddressPrefix ? parseInt(config.poolServer.subAddressPrefix) : "N/A";