mirror of
https://github.com/XRPLF/rippled.git
synced 2026-06-02 08:17:13 +00:00
refactor: Replace fee().accountReserve(0) with fee().reserve (#5843)
This PR changes fee().accountReserve(0) to fee().reserve, as the current network reserve amount should be used instead of the account reserve. Co-authored-by: Bart Thomee <11445373+bthomee@users.noreply.github.com>
This commit is contained in:
@@ -64,7 +64,7 @@ struct DID_test : public beast::unit_test::suite
|
||||
|
||||
// Fund alice enough to exist, but not enough to meet
|
||||
// the reserve for creating a DID.
|
||||
auto const acctReserve = env.current()->fees().accountReserve(0);
|
||||
auto const acctReserve = env.current()->fees().reserve;
|
||||
auto const incReserve = env.current()->fees().increment;
|
||||
auto const baseFee = env.current()->fees().base;
|
||||
env.fund(acctReserve, alice);
|
||||
|
||||
Reference in New Issue
Block a user