diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-31 17:55:05 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-31 17:58:12 +0200 |
commit | a8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477 (patch) | |
tree | a11ac0a3d552c4c75238376bcf8fea899080356d /src/test | |
parent | 0847d9cb5fcd2fdd5a21bde699944d966cf5add9 (diff) | |
download | bitcoin-a8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477.tar.xz |
Move recentRejects initialization to top of InitBlockIndex
This avoids that premature return in the condition that a new chain is initialized
results in NULL pointer errors due to recentReject not being constructed.
Also add assertions where it is used.
Diffstat (limited to 'src/test')
0 files changed, 0 insertions, 0 deletions