diff options
author | Jorge Timón <jtimon@jtimon.cc> | 2015-04-10 18:42:50 +0200 |
---|---|---|
committer | Jorge Timón <jtimon@jtimon.cc> | 2015-04-15 14:31:44 +0200 |
commit | bebe7282ffbfbc260bfc020f1b62710fdfd07cb5 (patch) | |
tree | 28f770eaf4594184c8074ae24ee0fda98cf6c97b /src/rpcmining.cpp | |
parent | ea2b425b00b01b5b6670fa39488caf146dac4642 (diff) |
Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter
Diffstat (limited to 'src/rpcmining.cpp')
-rw-r--r-- | src/rpcmining.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index 18f0ec0f81..851d113f3b 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -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"); |