diff options
author | Troy Giorshev <troygiorshev@gmail.com> | 2020-11-05 05:05:37 -0500 |
---|---|---|
committer | John Newbery <john@johnnewbery.com> | 2021-08-19 18:20:14 +0100 |
commit | f3e451bebfe2e2d8de901d8ac29c064a51d3b746 (patch) | |
tree | 0545359588dbecd5ada6429de9d6c4f4c629bbd8 /src/net.cpp | |
parent | 8c96008ab18075abca03bff6b3675643825a21ca (diff) | |
download | bitcoin-f3e451bebfe2e2d8de901d8ac29c064a51d3b746.tar.xz |
[net] Replace GetID() with id in TransportDeserializer constructor
Diffstat (limited to 'src/net.cpp')
-rw-r--r-- | src/net.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net.cpp b/src/net.cpp index 6aa2322e14..993e4e3ae8 100644 --- a/src/net.cpp +++ b/src/net.cpp @@ -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()); } |