diff options
| author | Pieter Wuille <[email protected]> | 2012-05-05 21:27:52 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2012-05-05 21:33:29 +0200 |
| commit | bd1aabe941bb7568e6e4e06356a6e98a8ba78a5d (patch) | |
| tree | d5e1a582b64226e0cf4cb5a79ba92e882ec4bde6 /src | |
| parent | Fix addrman crashes (diff) | |
| download | discoin-bd1aabe941bb7568e6e4e06356a6e98a8ba78a5d.tar.xz discoin-bd1aabe941bb7568e6e4e06356a6e98a8ba78a5d.zip | |
Bugfix: store source address in addrman
Diffstat (limited to 'src')
| -rw-r--r-- | src/addrman.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/addrman.h b/src/addrman.h index 7652df66a..3768614cf 100644 --- a/src/addrman.h +++ b/src/addrman.h @@ -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(); } |