aboutsummaryrefslogtreecommitdiff
path: root/src/net.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2015-07-31 17:55:05 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2015-07-31 17:58:12 +0200
commita8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477 (patch)
treea11ac0a3d552c4c75238376bcf8fea899080356d /src/net.h
parent0847d9cb5fcd2fdd5a21bde699944d966cf5add9 (diff)
downloadbitcoin-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/net.h')
0 files changed, 0 insertions, 0 deletions