mirror of
https://github.com/jwinterm/myriadcoin.git
synced 2026-10-19 05:58:38 +02:00
Fix issue #848 : broken mining on testnet
This commit is contained in:
committed by
Luke Dashjr
parent
ffef16404d
commit
91aadbdacf
+1
-1
@@ -1548,7 +1548,7 @@ Value getwork(const Array& params, bool fHelp)
|
||||
}
|
||||
|
||||
// Update nTime
|
||||
pblock->nTime = max(pindexPrev->GetMedianTimePast()+1, GetAdjustedTime());
|
||||
pblock->UpdateTime(pindexPrev);
|
||||
pblock->nNonce = 0;
|
||||
|
||||
// Update nExtraNonce
|
||||
|
||||
Reference in New Issue
Block a user