diff options
| author | Pieter Wuille <[email protected]> | 2016-09-09 12:48:10 +0200 |
|---|---|---|
| committer | Pieter Wuille <[email protected]> | 2016-09-19 15:53:47 +0200 |
| commit | d9ff591d42158e8a0a4ebdcf5fbb74978c483202 (patch) | |
| tree | 73b2ef1fae0b984e7612126c63846a7b39ccb2d7 /src/test/test_bitcoin.cpp | |
| parent | Merge #8754: [Doc] Target protobuf 2.6 in OS X build notes. (diff) | |
| download | discoin-d9ff591d42158e8a0a4ebdcf5fbb74978c483202.tar.xz discoin-d9ff591d42158e8a0a4ebdcf5fbb74978c483202.zip | |
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 b1ceef4f6..02843d852 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()); } |