diff options
| author | Pieter Wuille <[email protected]> | 2013-09-19 10:44:35 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2013-09-19 10:44:35 +0200 |
| commit | 367c29d6e043c809b28d5055f641b86c87cb1d5d (patch) | |
| tree | 76faeb8e0dffe5f0ac62fdc283c2d25ef777a4c7 | |
| parent | Fix gitian: bitcoin-deps is at version 0.0.7 (diff) | |
| download | discoin-367c29d6e043c809b28d5055f641b86c87cb1d5d.tar.xz discoin-367c29d6e043c809b28d5055f641b86c87cb1d5d.zip | |
Bugfix: nHeightLast instead of nHeightFirst
| -rw-r--r-- | src/main.h | 2 |
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; |