diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2015-07-31 17:55:05 +0200 |
---|---|---|
committer | Peter Todd <pete@petertodd.org> | 2015-10-02 12:27:20 +0200 |
commit | 5094a81d3b920283333623b49ac382d0b545642e (patch) | |
tree | a27ba09a751d627fd01b399adfc9cedc9cefea39 /depends | |
parent | ec9b6c33e813021948c53356173e313b43b03c13 (diff) |
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)
Diffstat (limited to 'depends')
0 files changed, 0 insertions, 0 deletions