Logic fix

This commit is contained in:
MoneroOcean
2018-03-24 21:03:13 +01:00
parent edf1c51ed8
commit fb2a80f780

View File

@@ -860,7 +860,7 @@ namespace cryptonote
//---------------------------------------------------------------
bool check_proof_of_work_v2(const block& bl, difficulty_type current_diffic, crypto::hash& proof_of_work)
{
if (BLOCK_MAJOR_VERSION_2 != bl.major_version ||
if (BLOCK_MAJOR_VERSION_2 != bl.major_version &&
BLOCK_MAJOR_VERSION_3 != bl.major_version)
return false;