summaryrefslogtreecommitdiffstats
path: root/xmrstak/cli
diff options
context:
space:
mode:
authorpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-04 22:04:29 +0200
committerpsychocrypt <psychocrypt@users.noreply.github.com>2017-10-04 23:03:45 +0200
commite34ce368b559eaad7bf97f7f4ef4fc770e0484c4 (patch)
tree9a433732ad2941cc6cd91c4b0f6347e11133c0c9 /xmrstak/cli
parent8ee452eefae9be9d467602052131d3c5c9c0afb9 (diff)
downloadxmr-stak-e34ce368b559eaad7bf97f7f4ef4fc770e0484c4.zip
xmr-stak-e34ce368b559eaad7bf97f7f4ef4fc770e0484c4.tar.gz
fix broken nicehash support
- add nicehash flag back to `miner_work`
Diffstat (limited to 'xmrstak/cli')
-rw-r--r--xmrstak/cli/cli-miner.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmrstak/cli/cli-miner.cpp b/xmrstak/cli/cli-miner.cpp
index ff31d2c..a2d950d 100644
--- a/xmrstak/cli/cli-miner.cpp
+++ b/xmrstak/cli/cli-miner.cpp
@@ -346,7 +346,7 @@ void do_benchmark()
printer::inst()->print_msg(L0, "Running a 60 second benchmark...");
uint8_t work[76] = {0};
- xmrstak::miner_work oWork = xmrstak::miner_work("", work, sizeof(work), 0, 0, 0);
+ xmrstak::miner_work oWork = xmrstak::miner_work("", work, sizeof(work), 0, 0, false, 0);
pvThreads = xmrstak::BackendConnector::thread_starter(oWork);
uint64_t iStartStamp = time_point_cast<milliseconds>(high_resolution_clock::now()).time_since_epoch().count();
OpenPOWER on IntegriCloud