aboutsummaryrefslogtreecommitdiff
path: root/src/init.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-09-19 17:05:35 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2016-09-19 18:02:01 +0200
commit047ded0b12f3d8da3fb4220963ae3f68579b1176 (patch)
tree63d442dd1f5e508aaffc5330c3f27f9ec1c0ca83 /src/init.cpp
parent894c0ad9a9abce703e4a5d7456f2d0477deb5bc0 (diff)
parentd9ff591d42158e8a0a4ebdcf5fbb74978c483202 (diff)
Merge #8688: Move static global randomizer seeds into CConnman
d9ff591 Move static global randomizer seeds into CConnman (Pieter Wuille)
Diffstat (limited to 'src/init.cpp')
-rw-r--r--src/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/init.cpp b/src/init.cpp
index 8a95296bcf..d4af2db1ce 100644
--- a/src/init.cpp
+++ b/src/init.cpp
@@ -1116,7 +1116,7 @@ bool AppInit2(boost::thread_group& threadGroup, CScheduler& scheduler)
// ********************************************************* Step 6: network initialization
assert(!g_connman);
- g_connman = std::unique_ptr<CConnman>(new CConnman());
+ g_connman = std::unique_ptr<CConnman>(new CConnman(GetRand(std::numeric_limits<uint64_t>::max()), GetRand(std::numeric_limits<uint64_t>::max())));
CConnman& connman = *g_connman;
RegisterNodeSignals(GetNodeSignals());