CN2 PoW from v9

pull/88/head
wowario 6 years ago
parent f4a2968a51
commit bc48be0cdd
No known key found for this signature in database
GPG Key ID: 24DCBE762DE9C111

@ -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…
Cancel
Save