Browse Source

Bugfix: store source address in addrman

0.8
Pieter Wuille 13 years ago
parent
commit
bd1aabe941
  1. 2
      src/addrman.h

2
src/addrman.h

@ -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…
Cancel
Save