Bugfix: store source address in addrman

This commit is contained in:
Pieter Wuille 2012-05-05 21:27:52 +02:00
parent 56f1e91239
commit bd1aabe941

View File

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