diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2016-09-09 12:48:10 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2016-09-19 15:53:47 +0200 |
commit | d9ff591d42158e8a0a4ebdcf5fbb74978c483202 (patch) | |
tree | 73b2ef1fae0b984e7612126c63846a7b39ccb2d7 /src/init.cpp | |
parent | 254ea97e940f06139efb3720e78ebe3c736b24ca (diff) |
Move static global randomizer seeds into CConnman
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 32b1719258..7b20e5b07a 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()); |