mirror of
https://github.com/dashpay/dash.git
synced 2024-12-26 04:22:55 +01:00
Merge #8740: net: No longer send local address in addrMe
d9c99c3
net: No longer send local address in addrMe (Wladimir J. van der Laan)
This commit is contained in:
commit
239e8ce958
@ -448,7 +448,7 @@ void CNode::PushVersion()
|
||||
{
|
||||
int64_t nTime = (fInbound ? GetAdjustedTime() : GetTime());
|
||||
CAddress addrYou = (addr.IsRoutable() && !IsProxy(addr) ? addr : CAddress(CService(), addr.nServices));
|
||||
CAddress addrMe = GetLocalAddress(&addr, nLocalServices);
|
||||
CAddress addrMe = CAddress(CService(), nLocalServices);
|
||||
if (fLogIPs)
|
||||
LogPrint("net", "send version message: version %d, blocks=%d, us=%s, them=%s, peer=%d\n", PROTOCOL_VERSION, nMyStartingHeight, addrMe.ToString(), addrYou.ToString(), id);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user