mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +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:
@@ -192,7 +192,7 @@ public:
|
||||
auto const& assistor = createOnHighAcct ? acctC : acctD;
|
||||
|
||||
auto const txFee = env.current()->fees().base;
|
||||
auto const baseReserve = env.current()->fees().accountReserve(0);
|
||||
auto const baseReserve = env.current()->fees().reserve;
|
||||
auto const threelineReserve = env.current()->fees().accountReserve(3);
|
||||
|
||||
env.fund(XRP(10000), gwA, gwB, assistor);
|
||||
|
||||
Reference in New Issue
Block a user