aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmining.cpp
diff options
context:
space:
mode:
authorJorge Timón <jtimon@jtimon.cc>2015-04-10 18:42:50 +0200
committerJorge Timón <jtimon@jtimon.cc>2015-04-15 14:31:44 +0200
commitbebe7282ffbfbc260bfc020f1b62710fdfd07cb5 (patch)
tree28f770eaf4594184c8074ae24ee0fda98cf6c97b /src/rpcmining.cpp
parentea2b425b00b01b5b6670fa39488caf146dac4642 (diff)
Chainparams: Refactor: Remove redundant AllowMinDifficultyBlocks() getter
Diffstat (limited to 'src/rpcmining.cpp')
-rw-r--r--src/rpcmining.cpp2
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");