diff options
author | Eric Lombrozo <elombrozo@gmail.com> | 2013-01-08 14:58:06 -0800 |
---|---|---|
committer | Eric Lombrozo <elombrozo@gmail.com> | 2013-06-05 23:15:20 -0700 |
commit | aabdf9e899e9024927c26c194ad38142495f80bf (patch) | |
tree | 736c1df9b5cd042539083b5326b5a684c30a27bb /src/rpcmining.cpp | |
parent | 48343a0a506398e22349c791717500a20bfff511 (diff) |
Moved UpdateTime out of CBlockHeader and moved CBlockHeader into core.
Diffstat (limited to 'src/rpcmining.cpp')
-rw-r--r-- | src/rpcmining.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rpcmining.cpp b/src/rpcmining.cpp index d2cac68706..6f8ac7a112 100644 --- a/src/rpcmining.cpp +++ b/src/rpcmining.cpp @@ -159,7 +159,7 @@ Value getwork(const Array& params, bool fHelp) CBlock* pblock = &pblocktemplate->block; // pointer for convenience // Update nTime - pblock->UpdateTime(pindexPrev); + UpdateTime(*pblock, pindexPrev); pblock->nNonce = 0; // Update nExtraNonce @@ -289,7 +289,7 @@ Value getblocktemplate(const Array& params, bool fHelp) CBlock* pblock = &pblocktemplate->block; // pointer for convenience // Update nTime - pblock->UpdateTime(pindexPrev); + UpdateTime(*pblock, pindexPrev); pblock->nNonce = 0; Array transactions; |