Added timestamp patch
This commit is contained in:
@@ -93,6 +93,9 @@ static bool fillExtraMM(cryptonote::block& block1, const cryptonote::block& bloc
|
||||
std::copy(extra_nonce_replace.begin(), extra_nonce_replace.end(), extra.begin() + pos + 1 + new_extra_nonce_size + 1);
|
||||
//extra.resize(pos + 1 + extra_nonce_size + 1);
|
||||
|
||||
// get the most recent timestamp (solve duplicated timestamps on child coin)
|
||||
if (block2.timestamp > block1.timestamp) block1.timestamp = block2.timestamp;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user