aboutsummaryrefslogtreecommitdiff
path: root/src/test/fuzz/net.cpp
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2020-11-20 10:16:10 +0100
committerMarcoFalke <falke.marco@gmail.com>2020-11-20 15:11:21 +0100
commitfabecce71909c984504c21fa05f91d5f1b471e8c (patch)
tree189a31d8bfd4c649df69542d783e4d702d21baac /src/test/fuzz/net.cpp
parentfdd068507d2694137d72638d87ea961e6f16a753 (diff)
net: Treat raw message bytes as uint8_t
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 36afd4744d..a0c8b7aac5 100644
--- a/src/test/fuzz/net.cpp
+++ b/src/test/fuzz/net.cpp
@@ -128,7 +128,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(b, complete);
break;
}
}