mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
Added Cvt class.
This commit is contained in:
@@ -31,6 +31,7 @@
|
||||
#include "base/net/http/HttpData.h"
|
||||
#include "base/net/http/HttpListener.h"
|
||||
#include "base/net/stratum/benchmark/BenchConfig.h"
|
||||
#include "base/tools/Cvt.h"
|
||||
#include "version.h"
|
||||
|
||||
|
||||
@@ -217,7 +218,7 @@ bool xmrig::BenchClient::setSeed(const char *seed)
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!Buffer::fromHex(seed, size * 2, m_job.blob())) {
|
||||
if (!Cvt::fromHex(m_job.blob(), m_job.size(), seed, size * 2)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user