aboutsummaryrefslogtreecommitdiff
path: root/src/chain.h
diff options
context:
space:
mode:
authorBen Woosley <ben.woosley@gmail.com>2018-05-13 23:39:53 -0700
committerBen Woosley <ben.woosley@gmail.com>2018-05-14 18:36:39 -0700
commit5b35b9276858f6841ab4b688883461f602e9f937 (patch)
tree9d602a85eb9cfb6c687ce336dcaa0e147e941c2c /src/chain.h
parent81c533c6f481ebf6a4f6349c05731306e3a2402f (diff)
Break circular dependency: chain -> pow -> chain
chain.h does not actually depend on the methods defined in pow.h, just its include of consensus/params.h, which is standalone and can be included instead. Confirmed by inspection and successful build.
Diffstat (limited to 'src/chain.h')
-rw-r--r--src/chain.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chain.h b/src/chain.h
index 757840bb23..8e6ac8d821 100644
--- a/src/chain.h
+++ b/src/chain.h
@@ -7,8 +7,8 @@
#define BITCOIN_CHAIN_H
#include <arith_uint256.h>
+#include <consensus/params.h>
#include <primitives/block.h>
-#include <pow.h>
#include <tinyformat.h>
#include <uint256.h>