diff --git a/src/cryptonote_basic/cryptonote_format_utils.cpp b/src/cryptonote_basic/cryptonote_format_utils.cpp index 54d5a091d..ca7254bf5 100644 --- a/src/cryptonote_basic/cryptonote_format_utils.cpp +++ b/src/cryptonote_basic/cryptonote_format_utils.cpp @@ -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; }