Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter

This commit is contained in:
Jorge Timón
2015-04-10 18:42:50 +02:00
parent ea2b425b00
commit bebe7282ff
4 changed files with 15 additions and 14 deletions

View File

@@ -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");