aboutsummaryrefslogtreecommitdiff
path: root/src/bench/load_external.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/bench/load_external.cpp')
-rw-r--r--src/bench/load_external.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bench/load_external.cpp b/src/bench/load_external.cpp
index 7cfade9c79..3b100d97b0 100644
--- a/src/bench/load_external.cpp
+++ b/src/bench/load_external.cpp
@@ -56,7 +56,7 @@ static void LoadExternalBlockFile(benchmark::Bench& bench)
// "rb" is "binary, O_RDONLY", positioned to the start of the file.
// The file will be closed by LoadExternalBlockFile().
CAutoFile file{fsbridge::fopen(blkfile, "rb"), CLIENT_VERSION};
- testing_setup->m_node.chainman->LoadExternalBlockFile(file.Get(), &pos, &blocks_with_unknown_parent);
+ testing_setup->m_node.chainman->LoadExternalBlockFile(file, &pos, &blocks_with_unknown_parent);
});
fs::remove(blkfile);
}