aboutsummaryrefslogtreecommitdiff
path: root/src/rpcmining.cpp
diff options
context:
space:
mode:
authorjtimon <jtimon@monetize.io>2014-06-28 14:03:06 +0200
committerjtimon <jtimon@monetize.io>2014-08-23 13:21:50 +0200
commitc2c02f3fa99385f5a5be722fda6f71522c93bdaa (patch)
tree608b76aa8e523a4118f569518bf5150e85d77c48 /src/rpcmining.cpp
parent92b3d3630d6d63305bec136a23c7be4cb2bb2652 (diff)
Move UpdateTime to pow
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;