aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorJames O'Beirne <james.obeirne@pm.me>2021-04-13 09:57:20 -0400
committerJames O'Beirne <james.obeirne@pm.me>2021-04-23 15:02:35 -0400
commit7901647d722bcc5b0554ad73b14481cbe73608e4 (patch)
treeb7c04b460bbc1cfe5f208c1e3672e7301d8af1a7 /src/rpc
parent66fd3b28e85c167f3955b5603496daf8d91abcad (diff)
refactor: rename active_chainstate in VerifyDB
To prepare VerifyDB semantics for multiple chainstate use.
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/blockchain.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp
index e7fd97ee1f..8e029b134b 100644
--- a/src/rpc/blockchain.cpp
+++ b/src/rpc/blockchain.cpp
@@ -1239,7 +1239,7 @@ static RPCHelpMan verifychain()
LOCK(cs_main);
CChainState& active_chainstate = chainman.ActiveChainstate();
- return CVerifyDB().VerifyDB(Params(), active_chainstate, &active_chainstate.CoinsTip(), check_level, check_depth);
+ return CVerifyDB().VerifyDB(active_chainstate, Params(), &active_chainstate.CoinsTip(), check_level, check_depth);
},
};
}