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.pull/95/head
parent
63051bea1c
commit
0840c2fd7e
Loading…
Reference in new issue