aboutsummaryrefslogtreecommitdiff
path: root/src/bench
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2018-06-24 19:24:01 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2018-06-24 19:25:03 +0200
commitcec84c2f1a359676ac4d206f10ee936d4d7db9b5 (patch)
treeb0466d643aeb2878347ef31bbc43e6b15da007bb /src/bench
parent868cf431be1fc3f349d85b90772954f7919f5910 (diff)
bench: Add missing pow.h header
Fix a build error introduced in #13219. ``` .../bitcoin/src/bench/block_assemble.cpp:42:13:error: use of undeclared identifier 'CheckProofOfWork' while (!CheckProofOfWork(block->GetHash(), block->nBits, Params().GetConsensus())) { ```
Diffstat (limited to 'src/bench')
-rw-r--r--src/bench/block_assemble.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/bench/block_assemble.cpp b/src/bench/block_assemble.cpp
index 450f5bfb04..36fa175a76 100644
--- a/src/bench/block_assemble.cpp
+++ b/src/bench/block_assemble.cpp
@@ -9,6 +9,7 @@
#include <consensus/validation.h>
#include <miner.h>
#include <policy/policy.h>
+#include <pow.h>
#include <scheduler.h>
#include <txdb.h>
#include <txmempool.h>