aboutsummaryrefslogtreecommitdiff
path: root/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'net.cpp')
-rw-r--r--net.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/net.cpp b/net.cpp
index c5659dc923..59d40dc121 100644
--- a/net.cpp
+++ b/net.cpp
@@ -968,9 +968,9 @@ bool OpenNetworkConnection(const CAddress& addrConnect)
if (addrLocalHost.IsRoutable() && !fUseProxy)
{
// Advertise our address
- vector<CAddress> vAddrToSend;
- vAddrToSend.push_back(addrLocalHost);
- pnode->PushMessage("addr", vAddrToSend);
+ vector<CAddress> vAddr;
+ vAddr.push_back(addrLocalHost);
+ pnode->PushMessage("addr", vAddr);
}
// Get as many addresses as we can