From 3847d74f5d01b28c1e4d83a438bfaf53f802b6fb Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Thu, 14 Nov 2013 01:22:19 -0200 Subject: [PATCH] fix GetTransaction old key search. how many more iterations do i need to get this thing right? --- src/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.cpp b/src/main.cpp index ca1dbbeb..17af295e 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -703,7 +703,7 @@ bool GetTransaction(const std::string &username, CTransaction &txOut, uint256 &h } else { break; } - } while( height > 0 && height <= maxHeight ); + } while( height > 0 && height >= maxHeight ); } return false;