aboutsummaryrefslogtreecommitdiff
path: root/src/rpc/blockchain.cpp
diff options
context:
space:
mode:
authorCarl Dong <contact@carldong.me>2020-09-15 16:30:32 -0400
committerCarl Dong <contact@carldong.me>2021-03-01 17:56:07 -0500
commit2bdf37fe187ba6f090a0f5299b74d5d82cde4697 (patch)
treea79c01107a74ee56de49d23047e2722c43113710 /src/rpc/blockchain.cpp
parent31eac50c721dd3b0bd2347e76196bf16913e9be9 (diff)
downloadbitcoin-2bdf37fe187ba6f090a0f5299b74d5d82cde4697.tar.xz
validation: Pass in chainstate to CVerifyDB::VerifyDB
Diffstat (limited to 'src/rpc/blockchain.cpp')
-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 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);
},
};
}