Bugfix: nHeightLast instead of nHeightFirst

This commit is contained in:
Pieter Wuille 2013-09-19 10:44:35 +02:00
parent d969c2c073
commit 367c29d6e0
1 changed files with 1 additions and 1 deletions

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;