diff options
author | Guillaume LE VAILLANT <glv@posteo.net> | 2017-08-02 23:59:48 +0200 |
---|---|---|
committer | Guillaume LE VAILLANT <glv@posteo.net> | 2017-08-02 23:59:48 +0200 |
commit | c8640a3d74e72d524c14e278c166ed7294629de8 (patch) | |
tree | d13dbd64aa8f84fdd6af730ed8ab3d9208c41b02 /src/cryptonote_basic/difficulty.h | |
parent | Merge pull request #2159 (diff) | |
download | monero-c8640a3d74e72d524c14e278c166ed7294629de8.tar.xz |
difficulty: fix misleading comment
Diffstat (limited to '')
-rw-r--r-- | src/cryptonote_basic/difficulty.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/cryptonote_basic/difficulty.h b/src/cryptonote_basic/difficulty.h index aed6cb289..aeb1c030d 100644 --- a/src/cryptonote_basic/difficulty.h +++ b/src/cryptonote_basic/difficulty.h @@ -42,9 +42,9 @@ namespace cryptonote /** * @brief checks if a hash fits the given difficulty * - * The hash passes if (hash * difficulty) < 2^192. + * The hash passes if (hash * difficulty) < 2^256. * Phrased differently, if (hash * difficulty) fits without overflow into - * the least significant 192 bits of the 256 bit multiplication result. + * the least significant 256 bits of the 320 bit multiplication result. * * @param hash the hash to check * @param difficulty the difficulty to check against |