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

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