mirror of
https://github.com/XRPLF/rippled.git
synced 2026-04-29 15:37:57 +00:00
Gate VaultCreate on featureMPTokensV1
This commit is contained in:
@@ -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) &&
|
||||
|
||||
Reference in New Issue
Block a user