diff options
author | Pieter Wuille <pieter@wuille.net> | 2021-11-02 10:07:46 -0400 |
---|---|---|
committer | Pieter Wuille <pieter@wuille.net> | 2021-11-29 17:59:44 -0500 |
commit | 11daf6ceb1d9ea1f8d638b123eecfe39d162a7c3 (patch) | |
tree | 04577b15fa2b9dbbf611377c5a0e23bf2a705768 /src/test/fuzz/utxo_snapshot.cpp | |
parent | 568dd2f83900a11a4dbba1250722791a135bf0a9 (diff) | |
download | bitcoin-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.cpp | 2 |
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{[&] { |