test: move random.h include header from setup_common.h to cpp

This commit is contained in:
Jon Atack 2023-05-11 11:44:39 -07:00
parent 1b246fdd14
commit 1cd45d4e08
2 changed files with 2 additions and 1 deletions

View file

@ -32,6 +32,7 @@
#include <policy/fees.h>
#include <policy/fees_args.h>
#include <pow.h>
#include <random.h>
#include <rpc/blockchain.h>
#include <rpc/register.h>
#include <rpc/server.h>

View file

@ -11,7 +11,6 @@
#include <node/context.h> // IWYU pragma: export
#include <primitives/transaction.h>
#include <pubkey.h>
#include <random.h>
#include <stdexcept>
#include <util/chaintype.h>
#include <util/check.h>
@ -25,6 +24,7 @@
class CFeeRate;
class Chainstate;
class FastRandomContext;
/** This is connected to the logger. Can be used to redirect logs to any other log */
extern const std::function<void(const std::string&)> G_TEST_LOG_FUN;