Rename tecVAULT_ACCOUNT to tecPSEUDO_ACCOUNT

This commit is contained in:
Bronek Kozicki
2025-03-25 15:00:23 +00:00
parent 2f06b344a7
commit 372555bda8
3 changed files with 3 additions and 3 deletions

View File

@@ -347,7 +347,7 @@ enum TECcodes : TERUnderlyingType {
tecWRONG_ASSET = 194,
tecLIMIT_EXCEEDED = 195,
tecINVALID_DOMAIN = 196,
tecVAULT_ACCOUNT = 197,
tecPSEUDO_ACCOUNT = 197,
};
//------------------------------------------------------------------------------

View File

@@ -126,7 +126,7 @@ transResults()
MAKE_ERROR(tecWRONG_ASSET, "Wrong asset given."),
MAKE_ERROR(tecLIMIT_EXCEEDED, "Limit exceeded."),
MAKE_ERROR(tecINVALID_DOMAIN, "Invalid permissioned domain."),
MAKE_ERROR(tecVAULT_ACCOUNT, "This operation is not allowed on a Vault Account."),
MAKE_ERROR(tecPSEUDO_ACCOUNT, "This operation is not allowed against a pseudo-account."),
MAKE_ERROR(tefALREADY, "The exact transaction was already in this ledger."),
MAKE_ERROR(tefBAD_ADD_AUTH, "Not authorized to add account."),

View File

@@ -212,7 +212,7 @@ Clawback::preclaim(PreclaimContext const& ctx)
if (ctx.view.rules().enabled(featureSingleAssetVault) &&
sleHolder->isFieldPresent(sfVaultID))
return tecVAULT_ACCOUNT;
return tecPSEUDO_ACCOUNT;
return std::visit(
[&]<typename T>(T const&) {