mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-19 14:53:43 +01:00
Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter
This commit is contained in:
@@ -514,7 +514,7 @@ Value getblocktemplate(const Array& params, bool fHelp)
|
||||
CBlock* pblock = &pblocktemplate->block; // pointer for convenience
|
||||
|
||||
// Update nTime
|
||||
UpdateTime(pblock, pindexPrev);
|
||||
UpdateTime(pblock, Params().GetConsensus(), pindexPrev);
|
||||
pblock->nNonce = 0;
|
||||
|
||||
static const Array aCaps = boost::assign::list_of("proposal");
|
||||
|
||||
Reference in New Issue
Block a user