From 367c29d6e043c809b28d5055f641b86c87cb1d5d Mon Sep 17 00:00:00 2001 From: Pieter Wuille Date: Thu, 19 Sep 2013 10:44:35 +0200 Subject: [PATCH] Bugfix: nHeightLast instead of nHeightFirst --- src/main.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.h b/src/main.h index 952917cebe..7ce353d082 100644 --- a/src/main.h +++ b/src/main.h @@ -655,7 +655,7 @@ public: if (nBlocks==0 || nTimeFirst > nTimeIn) nTimeFirst = nTimeIn; nBlocks++; - if (nHeightIn > nHeightFirst) + if (nHeightIn > nHeightLast) nHeightLast = nHeightIn; if (nTimeIn > nTimeLast) nTimeLast = nTimeIn;