diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-24 19:24:01 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-24 19:25:03 +0200 |
commit | cec84c2f1a359676ac4d206f10ee936d4d7db9b5 (patch) | |
tree | b0466d643aeb2878347ef31bbc43e6b15da007bb | |
parent | 868cf431be1fc3f349d85b90772954f7919f5910 (diff) | |
download | bitcoin-cec84c2f1a359676ac4d206f10ee936d4d7db9b5.tar.xz |
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())) {
```
-rw-r--r-- | src/bench/block_assemble.cpp | 1 |
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> |