diff options
Diffstat (limited to 'src/miner.cpp')
-rw-r--r-- | src/miner.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/miner.cpp b/src/miner.cpp index fe7a54c052..14443c432d 100644 --- a/src/miner.cpp +++ b/src/miner.cpp @@ -96,6 +96,11 @@ void BlockAssembler::resetBlock() nFees = 0; } +std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(const CScript& scriptPubKeyIn) +{ + return CreateNewBlock(::ChainstateActive(), scriptPubKeyIn); +} + std::unique_ptr<CBlockTemplate> BlockAssembler::CreateNewBlock(CChainState& chainstate, const CScript& scriptPubKeyIn) { int64_t nTimeStart = GetTimeMicros(); |