Added timestamp patch

This commit is contained in:
MoneroOcean
2019-04-04 09:50:50 -07:00
parent db89485957
commit c359843323

View File

@@ -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;
}