Simplify testing RNG code

This commit is contained in:
Pieter Wuille
2018-10-31 15:51:57 -07:00
parent fd3e7973ff
commit 022cf47dd7
3 changed files with 5 additions and 12 deletions

View File

@@ -36,8 +36,7 @@ void CConnmanTest::ClearNodes()
g_connman->vNodes.clear();
}
uint256 insecure_rand_seed = GetRandHash();
FastRandomContext insecure_rand_ctx(insecure_rand_seed);
FastRandomContext insecure_rand_ctx;
extern bool fPrintToConsole;
extern void noui_connect();