aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmining.cpp
diff options
context:
space:
mode:
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 edab427cbf..429d789278 100644
--- a/src/rpcmining.cpp
+++ b/src/rpcmining.cpp
@@ -457,7 +457,7 @@ Value getblocktemplate(const Array& params, bool fHelp)
CBlock* pblock = &pblocktemplate->block; // pointer for convenience
// Update nTime
- UpdateTime(*pblock, pindexPrev);
+ UpdateTime(pblock, pindexPrev);
pblock->nNonce = 0;
Array transactions;