mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Don't round so aggressively.
This commit is contained in:
@@ -30,8 +30,8 @@ static void canonicalizeRound(bool isNative, uint64& value, int& offset, bool ro
|
||||
{
|
||||
if (roundUp)
|
||||
value += 9;
|
||||
else
|
||||
value -= 9;
|
||||
// else
|
||||
// value -= 9;
|
||||
value /= 10;
|
||||
++offset;
|
||||
}
|
||||
@@ -39,8 +39,8 @@ static void canonicalizeRound(bool isNative, uint64& value, int& offset, bool ro
|
||||
{
|
||||
if (roundUp)
|
||||
value += 9;
|
||||
else
|
||||
value -= 9;
|
||||
// else
|
||||
// value -= 9;
|
||||
value /= 10;
|
||||
++offset;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user