mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter
This commit is contained in:
parent
ea2b425b00
commit
bebe7282ff
4 changed files with 15 additions and 14 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue