Skip to content

Commit

Permalink
Merge bitcoin#13530: bench: Add missing pow.h header
Browse files Browse the repository at this point in the history
cec84c2 bench: Add missing pow.h header (Wladimir J. van der Laan)

Pull request description:

  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())) {
  ```

Tree-SHA512: 6ef78011fd7bd82859530b2676ba533b15db6c753cb84a1286b7e26ed6f3d2064769e42900b2479fe6c460411f742e2baed716db5eac06d3bc455e08c290a087
  • Loading branch information
laanwj committed Jun 24, 2018
2 parents 868cf43 + cec84c2 commit b1dc39d
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 b1dc39d

Please sign in to comment.