[net] Replace GetID() with id in TransportDeserializer constructor

This commit is contained in:
Troy Giorshev authored and John Newbery committed 2021-08-19 18:20:14 +01:00
1 parent 8c96008ab1
commit f3e451bebf
1 file changed
+1 -1
+1 -1
View File
@@ -3007,7 +3007,7 @@ CNode::CNode(NodeId idIn, ServiceFlags nLocalServicesIn, SOCKET hSocketIn, const
LogPrint(BCLog::NET, "Added connection peer=%d\n", id);
}
m_deserializer = std::make_unique<V1TransportDeserializer>(V1TransportDeserializer(Params(), GetId(), SER_NETWORK, INIT_PROTO_VERSION));
m_deserializer = std::make_unique<V1TransportDeserializer>(V1TransportDeserializer(Params(), id, SER_NETWORK, INIT_PROTO_VERSION));
m_serializer = std::make_unique<V1TransportSerializer>(V1TransportSerializer());
}