mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-03-20 12:39:47 +01:00
validation: Pass in chainstate to CVerifyDB::VerifyDB
This commit is contained in:
@@ -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);
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user