mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
p2p: Unify Send and Receive protocol versions
There is no change in behavior on the P2P network.
This commit is contained in:
@@ -51,7 +51,7 @@ void test_one_input(const std::vector<uint8_t>& buffer)
|
||||
p2p_node.fSuccessfullyConnected = true;
|
||||
p2p_node.fPauseSend = false;
|
||||
p2p_node.nVersion = PROTOCOL_VERSION;
|
||||
p2p_node.SetSendVersion(PROTOCOL_VERSION);
|
||||
p2p_node.SetCommonVersion(PROTOCOL_VERSION);
|
||||
g_setup->m_node.peerman->InitializeNode(&p2p_node);
|
||||
|
||||
connman.AddTestNode(p2p_node);
|
||||
|
||||
Reference in New Issue
Block a user