Correct line swap
Pretty clear the author wanted these two lines in other order.
This commit is contained in:
@@ -742,8 +742,8 @@ bool Equihash<N,K>::IsValidSolution(const eh_HashState& base_state, std::vector<
|
||||
return false;
|
||||
}
|
||||
if (X[i+1].IndicesBefore(X[i], hashLen, lenIndices)) {
|
||||
return false;
|
||||
LogPrint("pow", "Invalid solution: Index tree incorrectly ordered\n");
|
||||
return false;
|
||||
}
|
||||
if (!DistinctIndices(X[i], X[i+1], hashLen, lenIndices)) {
|
||||
LogPrint("pow", "Invalid solution: duplicate indices\n");
|
||||
|
||||
Reference in New Issue
Block a user