aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/decode_tx.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/fuzz/decode_tx.cpp')
-rw-r--r--src/test/fuzz/decode_tx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/decode_tx.cpp b/src/test/fuzz/decode_tx.cpp
index 09c4ff05df..0d89d4228a 100644
--- a/src/test/fuzz/decode_tx.cpp
+++ b/src/test/fuzz/decode_tx.cpp
@@ -14,7 +14,7 @@
void test_one_input(const std::vector<uint8_t>& buffer)
{
- const std::string tx_hex = HexStr(std::string{buffer.begin(), buffer.end()});
+ const std::string tx_hex = HexStr(buffer);
CMutableTransaction mtx;
const bool result_none = DecodeHexTx(mtx, tx_hex, false, false);
const bool result_try_witness = DecodeHexTx(mtx, tx_hex, false, true);