mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-27 22:45:52 +00:00
Rename tecVAULT_ACCOUNT to tecPSEUDO_ACCOUNT
This commit is contained in:
@@ -347,7 +347,7 @@ enum TECcodes : TERUnderlyingType {
|
||||
tecWRONG_ASSET = 194,
|
||||
tecLIMIT_EXCEEDED = 195,
|
||||
tecINVALID_DOMAIN = 196,
|
||||
tecVAULT_ACCOUNT = 197,
|
||||
tecPSEUDO_ACCOUNT = 197,
|
||||
};
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
@@ -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."),
|
||||
|
||||
@@ -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&) {
|
||||
|
||||
Reference in New Issue
Block a user