Merge #8102: Bugfix: use global ::fRelayTxes instead of CNode in version send

52b02ec Use global ::fRelayTxes instead of CNode one (Pieter Wuille)
This commit is contained in:
Pieter Wuille 2016-05-26 20:13:19 +02:00
commit 425278d17b
No known key found for this signature in database
GPG Key ID: DBA1A67379A1A931

View File

@ -471,7 +471,7 @@ void CNode::PushVersion()
else
LogPrint("net", "send version message: version %d, blocks=%d, us=%s, peer=%d\n", PROTOCOL_VERSION, nBestHeight, addrMe.ToString(), id);
PushMessage(NetMsgType::VERSION, PROTOCOL_VERSION, nLocalServices, nTime, addrYou, addrMe,
nLocalHostNonce, strSubVersion, nBestHeight, fRelayTxes);
nLocalHostNonce, strSubVersion, nBestHeight, ::fRelayTxes);
}