diff --git a/contrib/ethereum/libethash/progpow.cpp b/contrib/ethereum/libethash/progpow.cpp index fd709e8f..a7b85c0e 100644 --- a/contrib/ethereum/libethash/progpow.cpp +++ b/contrib/ethereum/libethash/progpow.cpp @@ -117,9 +117,9 @@ inline uint32_t random_math(uint32_t a, uint32_t b, uint32_t selector) noexcept { default: case 0: - return a + b; - case 1: return a * b; + case 1: + return a + b; case 2: return mul_hi32(a, b); case 3: