CN2 PoW from v9
This commit is contained in:
parent
f4a2968a51
commit
bc48be0cdd
|
@ -946,7 +946,7 @@ namespace cryptonote
|
|||
return true;
|
||||
}
|
||||
blobdata bd = get_block_hashing_blob(b);
|
||||
const int cn_variant = b.major_version >= 7 ? b.major_version - 6 : 0;
|
||||
const int cn_variant = b.major_version >= 9 ? 2 : 1;
|
||||
crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant);
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue