aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@pm.me>2021-04-13 10:05:28 -0400
committerJames O'Beirne <james.obeirne@pm.me>2021-04-23 15:06:48 -0400
commit9b604c0207b526c008617cdca210f35db5e344db (patch)
treec144b73559ae20405ce9cbccb95fef580284d1e8 /src/rpc
parent7901647d722bcc5b0554ad73b14481cbe73608e4 (diff)
downloadbitcoin-9b604c0207b526c008617cdca210f35db5e344db.tar.xz
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.cpp3
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);
},
};
}