mirror of
https://codeberg.org/nahuhh/wownero
synced 2026-11-12 08:54:00 +01:00
CN2 PoW from v9
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user