diff options
author | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-07-04 17:09:13 +0200 |
---|---|---|
committer | MarcoFalke <*~=`'#}+{/-|&$^_@721217.xyz> | 2023-09-15 14:34:17 +0200 |
commit | 9999b89cd37fb2a23c5ebcd91d9cb31d69375933 (patch) | |
tree | 3ded8f9c6e98d3ba651d6261851c20d5d7312c5c /src/test/fuzz/load_external_block_file.cpp | |
parent | fa389d902fbf5fac19fba8c5d0c5e0a25f15ca63 (diff) |
Make BufferedFile to be a CAutoFile wrapper
This refactor allows to forward some calls to the underlying CAutoFile,
instead of re-implementing the logic in the buffered file.
Diffstat (limited to 'src/test/fuzz/load_external_block_file.cpp')
-rw-r--r-- | src/test/fuzz/load_external_block_file.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/fuzz/load_external_block_file.cpp b/src/test/fuzz/load_external_block_file.cpp index 3ca2aa711b..fc903e5ec2 100644 --- a/src/test/fuzz/load_external_block_file.cpp +++ b/src/test/fuzz/load_external_block_file.cpp @@ -36,9 +36,9 @@ FUZZ_TARGET(load_external_block_file, .init = initialize_load_external_block_fil // Corresponds to the -reindex case (track orphan blocks across files). FlatFilePos flat_file_pos; std::multimap<uint256, FlatFilePos> blocks_with_unknown_parent; - g_setup->m_node.chainman->LoadExternalBlockFile(fuzzed_block_file.Get(), &flat_file_pos, &blocks_with_unknown_parent); + g_setup->m_node.chainman->LoadExternalBlockFile(fuzzed_block_file, &flat_file_pos, &blocks_with_unknown_parent); } else { // Corresponds to the -loadblock= case (orphan blocks aren't tracked across files). - g_setup->m_node.chainman->LoadExternalBlockFile(fuzzed_block_file.Get()); + g_setup->m_node.chainman->LoadExternalBlockFile(fuzzed_block_file); } } |