diff options
author | psychocrypt <psychocryptHPC@gmail.com> | 2017-12-09 00:06:24 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-09 00:06:24 +0100 |
commit | 8044eecf3a3b69ebb1f711dea51850b39498f2a8 (patch) | |
tree | f007adc6c6d57ecf00a4c1e61dac602da0b30598 /xmrstak/jconf.cpp | |
parent | 1b9906080826de11cbd3bd237be4b85d9598da65 (diff) | |
parent | cbf59c4590887fbb71496feadad0720ecbe395f6 (diff) | |
download | xmr-stak-8044eecf3a3b69ebb1f711dea51850b39498f2a8.zip xmr-stak-8044eecf3a3b69ebb1f711dea51850b39498f2a8.tar.gz |
Merge pull request #391 from fireice-uk/fix-cli-questions
Fix cli questions
Diffstat (limited to 'xmrstak/jconf.cpp')
-rw-r--r-- | xmrstak/jconf.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmrstak/jconf.cpp b/xmrstak/jconf.cpp index 34bde6c..f279f52 100644 --- a/xmrstak/jconf.cpp +++ b/xmrstak/jconf.cpp @@ -152,8 +152,8 @@ bool jconf::GetPoolConfig(size_t id, pool_cfg& cfg) size_t dlt = wt_max - wt_min; if(dlt != 0) { - /* Normalise weights between 0 and 9.9 */ - cfg.weight = double(cfg.raw_weight - wt_min) * 9.9; + /* Normalise weights between 0 and 9.8 */ + cfg.weight = double(cfg.raw_weight - wt_min) * 9.8; cfg.weight /= dlt; } else /* Special case - user selected same weights for everything */ |