From 62611771ac42e168c328bf160d74dd22eb3d9801 Mon Sep 17 00:00:00 2001 From: JoelKatz Date: Sat, 8 Dec 2012 18:59:56 -0800 Subject: [PATCH] Remove redunant check. --- src/cpp/ripple/Amount.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/cpp/ripple/Amount.cpp b/src/cpp/ripple/Amount.cpp index a799148ccd..ccb7df4851 100644 --- a/src/cpp/ripple/Amount.cpp +++ b/src/cpp/ripple/Amount.cpp @@ -968,10 +968,6 @@ STAmount STAmount::multiply(const STAmount& v1, const STAmount& v2, const uint16 --offset2; } - int finOffset = offset1 + offset2; - if ((finOffset > 80) || (finOffset < -96)) - throw std::runtime_error("multiplication produces out of range result"); - // Compute (numerator*10 * denominator*10) / 10^18 with rounding CBigNum v; if ((BN_add_word(&v, value1) != 1) ||