diff options
author | James O'Beirne <james.obeirne@gmail.com> | 2019-03-29 16:43:59 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@gmail.com> | 2019-09-17 09:45:38 -0400 |
commit | 3cf36736e540cf06250701f0934a7946836d000d (patch) | |
tree | 28a1cd25fa20c38938df353962ed39f1fee51701 /src/init.cpp | |
parent | bcf73d3b84649c8786f0cccc6862dd1bbdb9950b (diff) |
refactoring: move ReplayBlocks under CChainState
Diffstat (limited to 'src/init.cpp')
-rw-r--r-- | src/init.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp index d7b09b5e46..7c752d615a 100644 --- a/src/init.cpp +++ b/src/init.cpp @@ -1545,7 +1545,7 @@ bool AppInitMain(InitInterfaces& interfaces) } // ReplayBlocks is a no-op if we cleared the coinsviewdb with -reindex or -reindex-chainstate - if (!ReplayBlocks(chainparams, &::ChainstateActive().CoinsDB())) { + if (!::ChainstateActive().ReplayBlocks(chainparams)) { strLoadError = _("Unable to replay blocks. You will need to rebuild the database using -reindex-chainstate.").translated; break; } |