Logic fix
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user