diff options
author | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-24 19:39:55 +0200 |
---|---|---|
committer | Wladimir J. van der Laan <laanwj@gmail.com> | 2018-06-24 19:40:55 +0200 |
commit | b1dc39df6ec878d06fc7217a3d7bf07397edf3ea (patch) | |
tree | b0466d643aeb2878347ef31bbc43e6b15da007bb | |
parent | 868cf431be1fc3f349d85b90772954f7919f5910 (diff) | |
parent | cec84c2f1a359676ac4d206f10ee936d4d7db9b5 (diff) |
Merge #13530: bench: Add missing pow.h header
cec84c2f1a359676ac4d206f10ee936d4d7db9b5 bench: Add missing pow.h header (Wladimir J. van der Laan)
Pull request description:
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())) {
```
Tree-SHA512: 6ef78011fd7bd82859530b2676ba533b15db6c753cb84a1286b7e26ed6f3d2064769e42900b2479fe6c460411f742e2baed716db5eac06d3bc455e08c290a087
-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> |