git://git.novaco.in
/
novacoin.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
CAddrMan: stochastic address manager
[novacoin.git]
/
src
/
init.cpp
diff --git
a/src/init.cpp
b/src/init.cpp
index
b2c59ec
..
2b21f6d
100644
(file)
--- a/
src/init.cpp
+++ b/
src/init.cpp
@@
-543,7
+543,7
@@
bool AppInit2(int argc, char* argv[])
CAddress addr(CService(strAddr, GetDefaultPort(), fAllowDNS));
addr.nTime = 0; // so it won't relay unless successfully connected
if (addr.IsValid())
- AddAddress(addr);
+ addrman.Add(addr, CNetAddr("127.0.0.1"));
}
}