aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/net.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-09-30 17:08:26 +0200
committerMarcoFalke <falke.marco@gmail.com>2020-10-02 16:26:33 +0200
commitfa5ed3b4ca609426b2622cad235e107d33db7b30 (patch)
treec5fccc954fccb4b2eb028a2dc656493e03c4066c /src/test/fuzz/net.cpp
parent69a73803dfb2f65919660902d126487906a31770 (diff)
downloadbitcoin-fa5ed3b4ca609426b2622cad235e107d33db7b30.tar.xz
net: Use Span in ReceiveMsgBytes
Diffstat (limited to 'src/test/fuzz/net.cpp')
-rw-r--r--src/test/fuzz/net.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/fuzz/net.cpp b/src/test/fuzz/net.cpp
index a85c353243..242fc85d77 100644
--- a/src/test/fuzz/net.cpp
+++ b/src/test/fuzz/net.cpp
@@ -127,7 +127,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
case 11: {
const std::vector<uint8_t> b = ConsumeRandomLengthByteVector(fuzzed_data_provider);
bool complete;
- node.ReceiveMsgBytes((const char*)b.data(), b.size(), complete);
+ node.ReceiveMsgBytes({(const char*)b.data(), b.size()}, complete);
break;
}
}