aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/utxo_snapshot.cpp
diff options
context:
space:
mode:
authorPieter Wuille <pieter@wuille.net>2021-11-02 10:07:46 -0400
committerPieter Wuille <pieter@wuille.net>2021-11-29 17:59:44 -0500
commit11daf6ceb1d9ea1f8d638b123eecfe39d162a7c3 (patch)
tree04577b15fa2b9dbbf611377c5a0e23bf2a705768 /src/test/fuzz/utxo_snapshot.cpp
parent568dd2f83900a11a4dbba1250722791a135bf0a9 (diff)
downloadbitcoin-11daf6ceb1d9ea1f8d638b123eecfe39d162a7c3.tar.xz
More Span simplifications
Based on suggestions by MarcoFalke <falke.marco@gmail.com>
Diffstat (limited to 'src/test/fuzz/utxo_snapshot.cpp')
-rw-r--r--src/test/fuzz/utxo_snapshot.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/utxo_snapshot.cpp b/src/test/fuzz/utxo_snapshot.cpp
index 8d2a06f11a..d625403fa0 100644
--- a/src/test/fuzz/utxo_snapshot.cpp
+++ b/src/test/fuzz/utxo_snapshot.cpp
@@ -38,7 +38,7 @@ FUZZ_TARGET_INIT(utxo_snapshot, initialize_chain)
{
CAutoFile outfile{fsbridge::fopen(snapshot_path, "wb"), SER_DISK, CLIENT_VERSION};
const auto file_data{ConsumeRandomLengthByteVector(fuzzed_data_provider)};
- outfile << Span<const uint8_t>{file_data};
+ outfile << Span{file_data};
}
const auto ActivateFuzzedSnapshot{[&] {