mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +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:
@@ -91,7 +91,7 @@ class AmendmentBlocked_test : public beast::unit_test::suite
|
||||
set_tx[jss::Account] = bob.human();
|
||||
set_tx[jss::TransactionType] = jss::AccountSet;
|
||||
set_tx[jss::Fee] =
|
||||
static_cast<uint32_t>(8 * env.current()->fees().base);
|
||||
(8 * env.current()->fees().base).jsonClipped();
|
||||
set_tx[jss::Sequence] = env.seq(bob);
|
||||
set_tx[jss::SigningPubKey] = "";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user