fix: add credential amendment check and more refactoring (#7041)

This commit is contained in:
Shawn Xie
2026-05-01 12:25:01 -04:00
committed by GitHub
parent cc58844d49
commit 9a62a1e471
3 changed files with 145 additions and 671 deletions

View File

@@ -39,6 +39,9 @@ public:
{
}
static bool
checkExtraFeatures(PreflightContext const& ctx);
static NotTEC
preflight(PreflightContext const& ctx);

View File

@@ -19,6 +19,12 @@
namespace xrpl {
bool
ConfidentialMPTSend::checkExtraFeatures(PreflightContext const& ctx)
{
return !ctx.tx.isFieldPresent(sfCredentialIDs) || ctx.rules.enabled(featureCredentials);
}
NotTEC
ConfidentialMPTSend::preflight(PreflightContext const& ctx)
{

File diff suppressed because it is too large Load Diff