Browse Source

Bugfix: store source address in addrman

pull/1/head
Pieter Wuille 10 years ago
parent
commit
bd1aabe941
  1. 2
      src/addrman.h

2
src/addrman.h

@ -62,7 +62,7 @@ public: @@ -62,7 +62,7 @@ public:
nRandomPos = -1;
}
CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn)
CAddrInfo(const CAddress &addrIn, const CNetAddr &addrSource) : CAddress(addrIn), source(addrSource)
{
Init();
}

Loading…
Cancel
Save