diff options
author | SChernykh <sergey.v.chernykh@gmail.com> | 2019-02-04 17:49:19 +0100 |
---|---|---|
committer | SChernykh <sergey.v.chernykh@gmail.com> | 2019-02-14 11:29:54 +0100 |
commit | f51397b3064da60891b7e982d040b7715bbbf59a (patch) | |
tree | c5bab9cc390094b386c94dd3436e8f1bd38e92e4 /src/cryptonote_basic | |
parent | Merge pull request #4988 (diff) | |
download | monero-f51397b3064da60891b7e982d040b7715bbbf59a.tar.xz |
Cryptonight variant 4 aka CryptonightR
It introduces random integer math into the main loop.
Diffstat (limited to 'src/cryptonote_basic')
-rw-r--r-- | src/cryptonote_basic/cryptonote_format_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cryptonote_basic/cryptonote_format_utils.cpp b/src/cryptonote_basic/cryptonote_format_utils.cpp index f6daaab95..10fb5444c 100644 --- a/src/cryptonote_basic/cryptonote_format_utils.cpp +++ b/src/cryptonote_basic/cryptonote_format_utils.cpp @@ -1174,7 +1174,7 @@ namespace cryptonote } blobdata bd = get_block_hashing_blob(b); const int cn_variant = b.major_version >= 7 ? b.major_version - 6 : 0; - crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant); + crypto::cn_slow_hash(bd.data(), bd.size(), res, cn_variant, height); return true; } //--------------------------------------------------------------- |