diff options
author | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-15 12:37:23 +0100 |
---|---|---|
committer | moneromooo-monero <moneromooo-monero@users.noreply.github.com> | 2015-08-15 12:37:23 +0100 |
commit | 769d5ef0e6213e55bf8940a03e2de8c8070a8f54 (patch) | |
tree | a5ddd57133708f69d7e9c671e51a92bf2d1823d0 /.gitignore | |
parent | Merge pull request #376 (diff) | |
download | monero-769d5ef0e6213e55bf8940a03e2de8c8070a8f54.tar.xz |
blockchain: fix off by 1 in timestamp median calculations
The height function apparently used to return the index of
the last block, rather than the height of the chain. This now
seems to be incorrect, judging the the code, so we remove the
now wrong comment, as well as a couple +/- 1 adjustments
which now cause the median calculation to differ from the
original blockchain_storage version.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions