Skip to content

Commit

Permalink
bench: Add missing pow.h header
Browse files Browse the repository at this point in the history
Fix a build error introduced in bitcoin#13219.

```
.../bitcoin/src/bench/block_assemble.cpp:42:13:error: use of undeclared identifier 'CheckProofOfWork'
    while (!CheckProofOfWork(block->GetHash(), block->nBits, Params().GetConsensus())) {
```
  • Loading branch information
laanwj committed Jun 24, 2018
1 parent 868cf43 commit cec84c2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bench/block_assemble.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit cec84c2

Please sign in to comment.