Bugfix: store source address in addrman

This commit is contained in:
Pieter Wuille committed 2012-05-05 21:33:29 +02:00
1 parent 56f1e91239
commit bd1aabe941
1 file changed
+1 -1
+1 -1
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();
} }