mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-07 02:36:47 +00:00
Use Number for IOUAmount and STAmount arithmetic
* Guarded by amendment fixUniversalNumber * Produces slightly better accuracy in some computations.
This commit is contained in:
committed by
Elliot Lee
parent
48e804c40c
commit
a82ad5ba76
@@ -782,6 +782,7 @@ Transactor::operator()()
|
||||
JLOG(j_.trace()) << "apply: " << ctx_.tx.getTransactionID();
|
||||
|
||||
STAmountSO stAmountSO{view().rules().enabled(fixSTAmountCanonicalize)};
|
||||
NumberSO stNumberSO{view().rules().enabled(fixUniversalNumber)};
|
||||
|
||||
#ifdef DEBUG
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user