aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2015-07-31 17:55:05 +0200
committerWladimir J. van der Laan <[email protected]>2015-07-31 17:58:12 +0200
commita8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477 (patch)
treea11ac0a3d552c4c75238376bcf8fea899080356d /src/init.cpp
parentKeep track of recently rejected transactions (diff)
downloaddiscoin-a8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477.tar.xz
discoin-a8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477.zip
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/init.cpp')
0 files changed, 0 insertions, 0 deletions