Correct line swap

Pretty clear the author wanted these two lines in other order.
This commit is contained in:
4ZEC 2016-10-14 13:35:22 -04:00 committed by GitHub
parent 27bc01a05b
commit cc6c9ec05e
1 changed files with 1 additions and 1 deletions

View File

@ -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");