aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
diff options
context:
space:
mode:
authorPieter Wuille <sipa@ulyssis.org>2013-09-19 10:44:35 +0200
committerPieter Wuille <sipa@ulyssis.org>2013-09-19 10:44:35 +0200
commit367c29d6e043c809b28d5055f641b86c87cb1d5d (patch)
tree76faeb8e0dffe5f0ac62fdc283c2d25ef777a4c7 /src/main.h
parentd969c2c073d4fe91b22615c90c86b74545bd8b71 (diff)
downloadbitcoin-367c29d6e043c809b28d5055f641b86c87cb1d5d.tar.xz
Bugfix: nHeightLast instead of nHeightFirst
Diffstat (limited to 'src/main.h')
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
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;