diff --git a/src/net_processing.cpp b/src/net_processing.cpp index 83de0e93a3..a4e8446f8c 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -1218,7 +1218,7 @@ void static ProcessGetData(CNode* pfrom, const Consensus::Params& consensusParam if (!push && inv.type == MSG_GOVERNANCE_OBJECT) { LogPrint("net", "ProcessGetData -- MSG_GOVERNANCE_OBJECT: inv = %s\n", inv.ToString()); - CDataStream ss(SER_NETWORK, PROTOCOL_VERSION); + CDataStream ss(SER_NETWORK, pfrom->GetSendVersion()); bool topush = false; { if(governance.HaveObjectForHash(inv.hash)) { @@ -1236,7 +1236,7 @@ void static ProcessGetData(CNode* pfrom, const Consensus::Params& consensusParam } if (!push && inv.type == MSG_GOVERNANCE_OBJECT_VOTE) { - CDataStream ss(SER_NETWORK, PROTOCOL_VERSION); + CDataStream ss(SER_NETWORK, pfrom->GetSendVersion()); bool topush = false; { if(governance.HaveVoteForHash(inv.hash)) {