diff options
author | warptangent <warptangent@inbox.com> | 2015-01-11 19:07:27 -0800 |
---|---|---|
committer | warptangent <warptangent@inbox.com> | 2015-01-11 21:23:02 -0800 |
commit | 0840c2fd7eb28aabcf793c2ec59824fd354a936c (patch) | |
tree | 5fa2c9f939cfbe73d65097577939cc560bd5d925 /cmake/FindUnbound.cmake | |
parent | Fix comparison between main and alternate chain's cumulative (diff) | |
download | monero-0840c2fd7eb28aabcf793c2ec59824fd354a936c.tar.xz |
Fix height assertion in Blockchain::handle_alternative_block()
It expects the total number of blocks of main chain, not last block id
(off-by-one error).
This again behaves like the same height assertion done in original
implementation in blockchain_storage::handle_alternative_block().
This allows a reorganization to proceed after an alternative block has
been added.
Diffstat (limited to 'cmake/FindUnbound.cmake')
0 files changed, 0 insertions, 0 deletions