856 | @@ -858,13 +857,13 @@ BOOST_AUTO_TEST_CASE(initial_advertise_from_version_message)
857 | std::chrono::microseconds time_received_dummy{0};
858 |
859 | const auto msg_version =
860 | - msg_maker.Make(NetMsgType::VERSION, PROTOCOL_VERSION, services, time, services, CAddress::V1_NETWORK(peer_us));
861 | + NetMsg::Make(NetMsgType::VERSION, PROTOCOL_VERSION, services, time, services, CAddress::V1_NETWORK(peer_us));
There is a stale PROTOCOL_VERSION here I think.
There is a stale PROTOCOL_VERSION here I think.
Are you sure? According to the Bitcoin wiki the first 4 bytes in the version message are there to " Identifies protocol version being used by the node ", so changing this may change the test, so better done in a follow-up?
The goal here is only to remove the serialize version and type.