mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-13 12:33:42 +02:00
Merge pull request #4377
654871dreplace ComputeMinWork with CheckMinWork (jtimon)b343c1aMove CBlockIndex::GetBlockWork() to pow::GetProofIncrement(nBits) (jtimon)c2c02f3Move UpdateTime to pow (jtimon)
This commit is contained in:
commit
d1062e32fa
7 changed files with 53 additions and 65 deletions
|
|
@ -458,7 +458,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