0
0
Fork 0
mirror of https://github.com/bitcoin/bitcoin.git synced 2025-02-03 09:56:38 -05:00

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;