Fix compiler warnings
This commit is contained in:
@@ -1277,7 +1277,7 @@ void static RandomXMiner()
|
|||||||
rxdebug("%s: Checking solution against target\n");
|
rxdebug("%s: Checking solution against target\n");
|
||||||
pblock->nSolution = soln;
|
pblock->nSolution = soln;
|
||||||
solutionTargetChecks.increment();
|
solutionTargetChecks.increment();
|
||||||
rxdebug("%s: solutionTargetChecks=%d\n", solutionTargetChecks.get());
|
fprintf(stderr,"%s: solutionTargetChecks=%lu\n", __func__, solutionTargetChecks.get());
|
||||||
B = *pblock;
|
B = *pblock;
|
||||||
h = UintToArith256(B.GetHash());
|
h = UintToArith256(B.GetHash());
|
||||||
|
|
||||||
@@ -1646,6 +1646,7 @@ void static BitcoinMiner()
|
|||||||
LogPrint("pow", "- Checking solution against target\n");
|
LogPrint("pow", "- Checking solution against target\n");
|
||||||
pblock->nSolution = soln;
|
pblock->nSolution = soln;
|
||||||
solutionTargetChecks.increment();
|
solutionTargetChecks.increment();
|
||||||
|
rxdebug("%s: solutionTargetChecks=%lu\n", solutionTargetChecks.get());
|
||||||
B = *pblock;
|
B = *pblock;
|
||||||
h = UintToArith256(B.GetHash());
|
h = UintToArith256(B.GetHash());
|
||||||
/*for (z=31; z>=16; z--)
|
/*for (z=31; z>=16; z--)
|
||||||
|
|||||||
Reference in New Issue
Block a user