Bugfix: store source address in addrman
This commit is contained in:
parent
56f1e91239
commit
bd1aabe941
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue