]> Git Repo - VerusCoin.git/commit
Move recentRejects initialization to top of InitBlockIndex
authorWladimir J. van der Laan <[email protected]>
Fri, 31 Jul 2015 15:55:05 +0000 (17:55 +0200)
committerPeter Todd <[email protected]>
Fri, 2 Oct 2015 10:27:20 +0000 (12:27 +0200)
commit5094a81d3b920283333623b49ac382d0b545642e
treea27ba09a751d627fd01b399adfc9cedc9cefea39
parentec9b6c33e813021948c53356173e313b43b03c13
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.

(cherry picked from commit a8d0407c4fcf7c4e8ed0e8edabd204f7a4efa477)
src/main.cpp
This page took 0.021211 seconds and 4 git commands to generate.