From cc6c9ec05e152113cfab3d3a60bbdbc2268cab1d Mon Sep 17 00:00:00 2001 From: 4ZEC Date: Fri, 14 Oct 2016 13:35:22 -0400 Subject: [PATCH] Correct line swap Pretty clear the author wanted these two lines in other order. --- src/crypto/equihash.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/equihash.cpp b/src/crypto/equihash.cpp index f17bce04d..bc2437e17 100644 --- a/src/crypto/equihash.cpp +++ b/src/crypto/equihash.cpp @@ -742,8 +742,8 @@ bool Equihash::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");