Skip to content

Commit 1cd45d4

Browse files
committed
test: move random.h include header from setup_common.h to cpp
1 parent 1b246fd commit 1cd45d4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/test/util/setup_common.cpp

+1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
#include <policy/fees.h>
3333
#include <policy/fees_args.h>
3434
#include <pow.h>
35+
#include <random.h>
3536
#include <rpc/blockchain.h>
3637
#include <rpc/register.h>
3738
#include <rpc/server.h>

src/test/util/setup_common.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@
1111
#include <node/context.h> // IWYU pragma: export
1212
#include <primitives/transaction.h>
1313
#include <pubkey.h>
14-
#include <random.h>
1514
#include <stdexcept>
1615
#include <util/chaintype.h>
1716
#include <util/check.h>
@@ -25,6 +24,7 @@
2524

2625
class CFeeRate;
2726
class Chainstate;
27+
class FastRandomContext;
2828

2929
/** This is connected to the logger. Can be used to redirect logs to any other log */
3030
extern const std::function<void(const std::string&)> G_TEST_LOG_FUN;

0 commit comments

Comments
 (0)