diff --git a/src/App.cpp b/src/App.cpp index 1af0c92e..48ac379d 100644 --- a/src/App.cpp +++ b/src/App.cpp @@ -140,7 +140,7 @@ int App::exec() m_controller->config()->calibrateAlgoTime() ); // start benchmarking from first PerfAlgo in the list - if (m_controller->config()->get_algo_perf(xmrig::PA_CN) == 0.0f) benchmark.shoud_save_config(); + if (m_controller->config()->get_algo_perf(xmrig::PA_CN) == 0.0f) benchmark.should_save_config(); benchmark.start_perf_bench(xmrig::PerfAlgo::PA_CN); } else { m_controller->network()->connect(); diff --git a/src/workers/Benchmark.h b/src/workers/Benchmark.h index e639c0d0..795edc6d 100644 --- a/src/workers/Benchmark.h +++ b/src/workers/Benchmark.h @@ -46,6 +46,6 @@ class Benchmark : public IJobResultListener { virtual ~Benchmark() {} void set_controller(xmrig::Controller* controller) { m_controller = controller; } - void shoud_save_config() { m_shouldSaveConfig = true; } + void should_save_config() { m_shouldSaveConfig = true; } void start_perf_bench(const xmrig::PerfAlgo); // start benchmark for specified perf algo };