diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-19 17:05:35 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2016-09-19 18:02:01 +0200 |
commit | 047ded0b12f3d8da3fb4220963ae3f68579b1176 (patch) | |
tree | 63d442dd1f5e508aaffc5330c3f27f9ec1c0ca83 /src/init.cpp | |
parent | 894c0ad9a9abce703e4a5d7456f2d0477deb5bc0 (diff) | |
parent | d9ff591d42158e8a0a4ebdcf5fbb74978c483202 (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.cpp | 2 |
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()); |