diff options
author | MacroFake <falke.marco@gmail.com> | 2022-06-06 17:22:59 +0200 |
---|---|---|
committer | MacroFake <falke.marco@gmail.com> | 2022-06-29 10:33:13 +0200 |
commit | facc2fa7b8a218a0df6a19772e1641ea68dda2e3 (patch) | |
tree | c2e5cf39dd2c0b88517a8bb2a83d7ca2bba2c360 /src/validation.h | |
parent | 6666803c897e4ad27b45cb74e3a9aa74a335f1bf (diff) | |
download | bitcoin-facc2fa7b8a218a0df6a19772e1641ea68dda2e3.tar.xz |
Use AutoFile where possible
Diffstat (limited to 'src/validation.h')
-rw-r--r-- | src/validation.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.h b/src/validation.h index 0e27e117fa..cce268ee8e 100644 --- a/src/validation.h +++ b/src/validation.h @@ -820,7 +820,7 @@ private: //! Internal helper for ActivateSnapshot(). [[nodiscard]] bool PopulateAndValidateSnapshot( CChainState& snapshot_chainstate, - CAutoFile& coins_file, + AutoFile& coins_file, const node::SnapshotMetadata& metadata); /** @@ -909,7 +909,7 @@ public: //! - Move the new chainstate to `m_snapshot_chainstate` and make it our //! ChainstateActive(). [[nodiscard]] bool ActivateSnapshot( - CAutoFile& coins_file, const node::SnapshotMetadata& metadata, bool in_memory); + AutoFile& coins_file, const node::SnapshotMetadata& metadata, bool in_memory); //! The most-work chain. CChainState& ActiveChainstate() const; |