diff options
author | Carl Dong <contact@carldong.me> | 2021-09-20 14:02:07 -0400 |
---|---|---|
committer | Carl Dong <contact@carldong.me> | 2021-12-07 14:48:49 -0500 |
commit | 15f2e33bb3d1ad3bc997f6a84956337f46495091 (patch) | |
tree | f645b983981d41f2da59acd1e6c0f11c3e5a9830 /src/validation.h | |
parent | 4da9c076d1cf12728730bb1f7e8906d4e9bfaba5 (diff) | |
download | bitcoin-15f2e33bb3d1ad3bc997f6a84956337f46495091.tar.xz |
validation: VerifyDB only needs Consensus::Params
Previously we were passing in CChainParams, when VerifyDB only needed
the Consensus::Params subset.
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/validation.h b/src/validation.h index 2609538ece..cc0cc0210f 100644 --- a/src/validation.h +++ b/src/validation.h @@ -344,7 +344,7 @@ public: ~CVerifyDB(); bool VerifyDB( CChainState& chainstate, - const CChainParams& chainparams, + const Consensus::Params& consensus_params, CCoinsView& coinsview, int nCheckLevel, int nCheckDepth) EXCLUSIVE_LOCKS_REQUIRED(cs_main); |