1
0
mirror of https://github.com/xmrig/xmrig.git synced 2026-01-17 21:13:14 -05:00

Merge branch 'dev' into feature/yadacoin

This commit is contained in:
pdxwebdev
2022-01-29 16:53:49 -08:00
committed by GitHub
26 changed files with 235 additions and 62 deletions

View File

@@ -30,6 +30,7 @@
#include "base/net/stratum/Job.h"
#include "base/tools/Alignment.h"
#include "base/tools/Buffer.h"
#include "base/tools/Cvt.h"
#include "base/tools/cryptonote/BlockTemplate.h"
@@ -73,7 +74,7 @@ bool xmrig::Job::setBlob(const char *blob)
return false;
}
if (*nonce() != 0 && !m_nicehash) {
if (readUnaligned(nonce()) != 0 && !m_nicehash) {
m_nicehash = true;
}