fix: removes redundant global freeze checks

This commit is contained in:
Vito
2026-06-23 14:14:29 +02:00
parent 1a3aed2b9f
commit 884d1591a7
3 changed files with 66 additions and 24 deletions

View File

@@ -72,6 +72,9 @@ isIndividualFrozen(ReadView const& view, AccountID const& account, Asset const&
[[nodiscard]] TER
checkIndividualFrozen(ReadView const& view, AccountID const& account, Asset const& asset);
[[nodiscard]] TER
checkIndividualDeepFrozen(ReadView const& view, AccountID const& account, Asset const& asset);
/**
* isFrozen check is recursive for MPT shares in a vault, descending to
* assets in the vault, up to maxAssetCheckDepth recursion depth. This is