Skip to content

Commit b1dc39d

Browse files
committed
Merge #13530: bench: Add missing pow.h header
cec84c2 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
2 parents 868cf43 + cec84c2 commit b1dc39d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/bench/block_assemble.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
#include <consensus/validation.h>
1010
#include <miner.h>
1111
#include <policy/policy.h>
12+
#include <pow.h>
1213
#include <scheduler.h>
1314
#include <txdb.h>
1415
#include <txmempool.h>

0 commit comments

Comments
 (0)