From dbbf6829b936ddecb328b36f975239ea1a32d20d Mon Sep 17 00:00:00 2001 From: Bronek Kozicki Date: Wed, 2 Apr 2025 17:11:49 +0100 Subject: [PATCH] Gate VaultCreate on featureMPTokensV1 --- src/xrpld/app/tx/detail/VaultCreate.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/xrpld/app/tx/detail/VaultCreate.cpp b/src/xrpld/app/tx/detail/VaultCreate.cpp index db2ce83dba..aec4a389b8 100644 --- a/src/xrpld/app/tx/detail/VaultCreate.cpp +++ b/src/xrpld/app/tx/detail/VaultCreate.cpp @@ -36,7 +36,8 @@ namespace ripple { NotTEC VaultCreate::preflight(PreflightContext const& ctx) { - if (!ctx.rules.enabled(featureSingleAssetVault)) + if (!ctx.rules.enabled(featureSingleAssetVault) || + !ctx.rules.enabled(featureMPTokensV1)) return temDISABLED; if (ctx.tx.isFieldPresent(sfDomainID) &&