diff options
author | Carl Dong <contact@carldong.me> | 2020-09-15 16:30:32 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-03-01 17:56:07 -0500 |
commit | 2bdf37fe187ba6f090a0f5299b74d5d82cde4697 (patch) | |
tree | a79c01107a74ee56de49d23047e2722c43113710 /src/rpc | |
parent | 31eac50c721dd3b0bd2347e76196bf16913e9be9 (diff) | |
download | bitcoin-2bdf37fe187ba6f090a0f5299b74d5d82cde4697.tar.xz |
validation: Pass in chainstate to CVerifyDB::VerifyDB
Diffstat (limited to 'src/rpc')
-rw-r--r-- | src/rpc/blockchain.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/blockchain.cpp b/src/rpc/blockchain.cpp index 53af1d0bcf..3fdc00452d 100644 --- a/src/rpc/blockchain.cpp +++ b/src/rpc/blockchain.cpp @@ -1200,7 +1200,7 @@ static RPCHelpMan verifychain() LOCK(cs_main); - return CVerifyDB().VerifyDB(Params(), &::ChainstateActive().CoinsTip(), check_level, check_depth); + return CVerifyDB().VerifyDB(Params(), ::ChainstateActive(), &::ChainstateActive().CoinsTip(), check_level, check_depth); }, }; } |