mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-25 13:42:54 -05:00
Added test hashes for self test.
This commit is contained in:
@@ -144,7 +144,7 @@ bool DoubleWorker::selfTest()
|
||||
}
|
||||
# endif
|
||||
|
||||
return true;
|
||||
return memcmp(m_hash, test_output_heavy, 64) == 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ bool SingleWorker::selfTest()
|
||||
}
|
||||
# endif
|
||||
|
||||
return true;
|
||||
return memcmp(m_result.result, test_output_heavy, 32) == 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user