mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-23 20:45:51 +00:00
Remove incorrect STAmount assert:
When computing rates for offers, an STAmount's value can be out of can be out of range (before canonicalizing). There was an assert that could incorrectly fire in some cases. This patch removes that assert.
This commit is contained in:
@@ -227,7 +227,6 @@ STAmount::STAmount (Issue const& issue,
|
||||
, mOffset (exponent)
|
||||
, mIsNegative (negative)
|
||||
{
|
||||
assert(mValue <= std::numeric_limits<std::int64_t>::max());
|
||||
canonicalize ();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user