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:
tequ
2025-10-16 05:50:06 +09:00
committed by GitHub
parent 3d44758e5a
commit 519d1dbc34
16 changed files with 29 additions and 35 deletions

View File

@@ -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);