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.cpp | |
parent | 6666803c897e4ad27b45cb74e3a9aa74a335f1bf (diff) | |
download | bitcoin-facc2fa7b8a218a0df6a19772e1641ea68dda2e3.tar.xz |
Use AutoFile where possible
Diffstat (limited to 'src/validation.cpp')
-rw-r--r-- | src/validation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/validation.cpp b/src/validation.cpp index 6b21d33871..36a9083117 100644 --- a/src/validation.cpp +++ b/src/validation.cpp @@ -4864,7 +4864,7 @@ const AssumeutxoData* ExpectedAssumeutxo( } bool ChainstateManager::ActivateSnapshot( - CAutoFile& coins_file, + AutoFile& coins_file, const SnapshotMetadata& metadata, bool in_memory) { @@ -4959,7 +4959,7 @@ static void FlushSnapshotToDisk(CCoinsViewCache& coins_cache, bool snapshot_load bool ChainstateManager::PopulateAndValidateSnapshot( CChainState& snapshot_chainstate, - CAutoFile& coins_file, + AutoFile& coins_file, const SnapshotMetadata& metadata) { // It's okay to release cs_main before we're done using `coins_cache` because we know |