Added --token command line option.

This commit is contained in:
XMRig 2020-11-10 21:29:13 +07:00
parent 95d3293f4b
commit f08887180d
No known key found for this signature in database
GPG key ID: 446A53638BE94409
7 changed files with 13 additions and 3 deletions

View file

@ -54,6 +54,7 @@ xmrig::BenchClient::BenchClient(const std::shared_ptr<BenchConfig> &benchmark, I
if (!m_benchmark->id().isEmpty()) {
m_job.setId(m_benchmark->id());
m_job.setBenchToken(m_benchmark->token());
m_mode = ONLINE_VERIFY;
return;