diff options
author | James O'Beirne <james.obeirne@pm.me> | 2021-04-13 10:05:28 -0400 |
---|---|---|
committer | James O'Beirne <james.obeirne@pm.me> | 2021-04-23 15:06:48 -0400 |
commit | 9b604c0207b526c008617cdca210f35db5e344db (patch) | |
tree | c144b73559ae20405ce9cbccb95fef580284d1e8 /src/rpc | |
parent | 7901647d722bcc5b0554ad73b14481cbe73608e4 (diff) |
validation: prepare VerifyDB for assumeutxo
Removes assumptions of use only on the active chainstate.
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/blockchain.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 8e029b134b..d36814716b 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1239,7 +1239,8 @@ static RPCHelpMan verifychain() LOCK(cs_main); CChainState& active_chainstate = chainman.ActiveChainstate(); - return CVerifyDB().VerifyDB(active_chainstate, Params(), &active_chainstate.CoinsTip(), check_level, check_depth); + return CVerifyDB().VerifyDB( + active_chainstate, Params(), active_chainstate.CoinsTip(), check_level, check_depth); }, }; } |