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/test/test_bitcoin.cpp | |
parent | 254ea97e940f06139efb3720e78ebe3c736b24ca (diff) | |
download | bitcoin-d9ff591d42158e8a0a4ebdcf5fbb74978c483202.tar.xz |
Move static global randomizer seeds into CConnman
Diffstat (limited to 'src/test/test_bitcoin.cpp')
-rw-r--r-- | src/test/test_bitcoin.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_bitcoin.cpp b/src/test/test_bitcoin.cpp index b1ceef4f64..02843d8525 100644 --- a/src/test/test_bitcoin.cpp +++ b/src/test/test_bitcoin.cpp @@ -72,7 +72,7 @@ TestingSetup::TestingSetup(const std::string& chainName) : BasicTestingSetup(cha nScriptCheckThreads = 3; for (int i=0; i < nScriptCheckThreads-1; i++) threadGroup.create_thread(&ThreadScriptCheck); - g_connman = std::unique_ptr<CConnman>(new CConnman()); + g_connman = std::unique_ptr<CConnman>(new CConnman(0x1337, 0x1337)); // Deterministic randomness for tests. connman = g_connman.get(); RegisterNodeSignals(GetNodeSignals()); } |