mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-16 13:01:19 +02:00
Move UpdateTime to pow
This commit is contained in:
parent
92b3d3630d
commit
c2c02f3fa9
6 changed files with 15 additions and 33 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue