mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-23 15:20:54 +00:00
Add units to all fee calculations:
* Uses existing XRPAmount with units for drops, and a new TaggedFee for fee units (LoadFeeTrack), and fee levels (TxQ). * Resolves #2451
This commit is contained in:
@@ -62,7 +62,7 @@ fill_fee (Json::Value& jv,
|
||||
{
|
||||
if (jv.isMember(jss::Fee))
|
||||
return;
|
||||
jv[jss::Fee] = std::to_string(
|
||||
jv[jss::Fee] = to_string(
|
||||
view.fees().base);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user