mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-20 23:29:12 +01:00
test: Undo thread_local g_insecure_rand_ctx
This commit is contained in:
@@ -22,6 +22,8 @@
|
||||
|
||||
const std::function<std::string(const char*)> G_TRANSLATION_FUN = nullptr;
|
||||
|
||||
FastRandomContext g_insecure_rand_ctx;
|
||||
|
||||
void CConnmanTest::AddNode(CNode& node)
|
||||
{
|
||||
LOCK(g_connman->cs_vNodes);
|
||||
@@ -37,8 +39,6 @@ void CConnmanTest::ClearNodes()
|
||||
g_connman->vNodes.clear();
|
||||
}
|
||||
|
||||
thread_local FastRandomContext g_insecure_rand_ctx;
|
||||
|
||||
std::ostream& operator<<(std::ostream& os, const uint256& num)
|
||||
{
|
||||
os << num.ToString();
|
||||
|
||||
Reference in New Issue
Block a user