aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPieter Wuille <[email protected]>2013-09-19 03:45:29 -0700
committerPieter Wuille <[email protected]>2013-09-19 03:45:29 -0700
commitb4355ccaf7ebe5a52d972bac6986e1ad600b524a (patch)
tree76faeb8e0dffe5f0ac62fdc283c2d25ef777a4c7
parentFix gitian: bitcoin-deps is at version 0.0.7 (diff)
parentBugfix: nHeightLast instead of nHeightFirst (diff)
downloaddiscoin-b4355ccaf7ebe5a52d972bac6986e1ad600b524a.tar.xz
discoin-b4355ccaf7ebe5a52d972bac6986e1ad600b524a.zip
Merge pull request #3019 from sipa/fugbix
Bugfix: nHeightLast instead of nHeightFirst
-rw-r--r--src/main.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.h b/src/main.h
index 952917ceb..7ce353d08 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;