refactor: s/command/msg_type/ in CNetMsgMaker and CSerializedNetMsg

This commit is contained in:
Sebastian Falbesoner
2020-05-10 19:48:11 +02:00
parent 88d8b4e182
commit 51e9393c1f
4 changed files with 10 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
const std::string random_message_type{fuzzed_data_provider.ConsumeBytesAsString(CMessageHeader::COMMAND_SIZE).c_str()};
CSerializedNetMsg net_msg;
net_msg.command = random_message_type;
net_msg.m_type = random_message_type;
net_msg.data = ConsumeRandomLengthByteVector(fuzzed_data_provider);
CNode& random_node = *peers.at(fuzzed_data_provider.ConsumeIntegralInRange<int>(0, peers.size() - 1));