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) if (nBlocks==0 || nTimeFirst > nTimeIn)
nTimeFirst = nTimeIn; nTimeFirst = nTimeIn;
nBlocks++; nBlocks++;
if (nHeightIn > nHeightFirst) if (nHeightIn > nHeightLast)
nHeightLast = nHeightIn; nHeightLast = nHeightIn;
if (nTimeIn > nTimeLast) if (nTimeIn > nTimeLast)
nTimeLast = nTimeIn; nTimeLast = nTimeIn;