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

@@ -447,7 +447,7 @@ class MPToken_test : public beast::unit_test::suite
// Test mptoken reserve requirement - first two mpts free (doApply)
{
Env env{*this, features};
auto const acctReserve = env.current()->fees().accountReserve(0);
auto const acctReserve = env.current()->fees().reserve;
auto const incReserve = env.current()->fees().increment;
// 1 drop