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

@@ -578,7 +578,7 @@ struct Credentials_test : public beast::unit_test::suite
using namespace jtx;
Env env{*this, features};
auto const reserve = drops(env.current()->fees().accountReserve(0));
auto const reserve = drops(env.current()->fees().reserve);
env.fund(reserve, subject, issuer);
env.close();