Skip to content

Commit

Permalink
blockIdentifier
Browse files Browse the repository at this point in the history
  • Loading branch information
ROZ-MOFUMOFU-ME authored Dec 3, 2019
1 parent 56a540b commit d3df430
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions init.js
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ var buildPoolConfigs = function(){
}
}

if (!poolOptions.blockIdentifier || poolOptions.blockIdentifier == "")
if (portalConfig.website && portalConfig.website.stratumHost)
poolOptions.blockIdentifier = portalConfig.website.stratumHost;
logger.debug('Master', coinProfile.name,"blockIdentifier: " + poolOptions.blockIdentifier)

configs[poolOptions.coin.name] = poolOptions;

Expand Down

0 comments on commit d3df430

Please sign in to comment.