diff options
author | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:46:48 +0200 |
---|---|---|
committer | Riccardo Spagni <ric@spagni.net> | 2017-08-15 20:46:48 +0200 |
commit | e5a1628c88fa0921f3c82caebf3429799f3ab0e7 (patch) | |
tree | 79ce4efe940641d79039bc7b98468504a22eda84 | |
parent | Merge pull request #2240 (diff) | |
parent | difficulty: fix misleading comment (diff) | |
download | monero-e5a1628c88fa0921f3c82caebf3429799f3ab0e7.tar.xz |
Merge pull request #2245
c8640a3d difficulty: fix misleading comment (Guillaume LE VAILLANT)
-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 |