Skip to content
Snippets Groups Projects
Commit 465ded99 authored by Unknown's avatar Unknown
Browse files

I need coffee
parent 179ffa2d
No related branches found
No related tags found
No related merge requests found
......@@ -240,7 +240,7 @@ void minethd::work_main()
*(uint32_t*)(bWorkBlob + 39) = results[i];
if((results[i] | 0xEB000000u) != 0xEB000000u)
if((results[i] & 0xEB000000u) != 0xEB000000u)
{
printf("Invalid NH nonce on AMD - 0x%.8x\n", results[i]);
exit(0);
......
......@@ -407,7 +407,7 @@ void minethd::work_main()
if (*piHashVal < oWork.iTarget)
{
if((result.iNonce | 0xEB000000u) != 0xEB000000u)
if((result.iNonce & 0xEB000000u) != 0xEB000000u)
{
printf("Invalid NH nonce on CPU SINGLE - 0x%.8x\n", result.iNonce);
exit(0);
......@@ -563,7 +563,7 @@ void minethd::double_work_main()
{
executor::inst()->push_event(ex_event(job_result(oWork.sJobID, iNonce-1, bDoubleHashOut, iThreadNo), oWork.iPoolId));
if((iNonce-1 | 0xEB000000u) != 0xEB000000u)
if((iNonce-1 & 0xEB000000u) != 0xEB000000u)
{
printf("Invalid NH nonce on CPU DOUBLE - 0x%.8x\n", iNonce-1);
exit(0);
......@@ -574,7 +574,7 @@ void minethd::double_work_main()
{
executor::inst()->push_event(ex_event(job_result(oWork.sJobID, iNonce, bDoubleHashOut + 32, iThreadNo), oWork.iPoolId));
if((iNonce | 0xEB000000u) != 0xEB000000u)
if((iNonce & 0xEB000000u) != 0xEB000000u)
{
printf("Invalid NH nonce on CPU DOUBLE - 0x%.8x\n", iNonce);
exit(0);
......
......@@ -282,7 +282,7 @@ void minethd::work_main()
*(uint32_t*)(bWorkBlob + 39) = foundNonce[i];
if((foundNonce[i] | 0xEB000000u) != 0xEB000000u)
if((foundNonce[i] & 0xEB000000u) != 0xEB000000u)
{
printf("Invalid NH nonce on NVIDIA - 0x%.8x\n", foundNonce[i]);
exit(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment