Skip to content

Commit cec84c2

Browse files
committed
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())) { ```
1 parent 868cf43 commit cec84c2

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)