mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
more addr message error checking
-- version 0.2.11
This commit is contained in:
parent
78c7bb8e26
commit
d0ac235c8f
4 changed files with 23 additions and 12 deletions
6
net.cpp
6
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue