Merge pull request #3019 from sipa/fugbix

Bugfix: nHeightLast instead of nHeightFirst
This commit is contained in:
Pieter Wuille 2013-09-19 03:45:29 -07:00
commit b4355ccaf7

View file

@ -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;