refactor: Make function naming in ServiceRegistry consistent (#6390)

Signed-off-by: JCW <a1q123456@users.noreply.github.com>
Co-authored-by: Ed Hennis <ed@ripple.com>
This commit is contained in:
Jingchen
2026-03-26 14:11:16 +00:00
committed by GitHub
parent faf69da4b0
commit addc1e8e25
116 changed files with 664 additions and 633 deletions

View File

@@ -110,7 +110,7 @@ public:
view.rawInsert(sleA1);
return true;
};
env.app().openLedger().modify(unauthTrustline);
env.app().getOpenLedger().modify(unauthTrustline);
if (features[fixEnforceNFTokenTrustlineV2])
{
@@ -173,7 +173,7 @@ public:
view.rawInsert(sleA1);
return true;
};
env.app().openLedger().modify(unauthTrustline);
env.app().getOpenLedger().modify(unauthTrustline);
if (features[fixEnforceNFTokenTrustlineV2])
{
// test: check that offer can't be accepted even with balance
@@ -293,7 +293,7 @@ public:
view.rawInsert(sleA1);
return true;
};
env.app().openLedger().modify(unauthTrustline);
env.app().getOpenLedger().modify(unauthTrustline);
if (features[fixEnforceNFTokenTrustlineV2])
{
env(token::acceptSellOffer(A1, sellIdx), ter(tecNO_AUTH));
@@ -412,7 +412,7 @@ public:
view.rawInsert(sleA1);
return true;
};
env.app().openLedger().modify(unauthTrustline);
env.app().getOpenLedger().modify(unauthTrustline);
if (features[fixEnforceNFTokenTrustlineV2])
{