fix: missing ret check

This commit is contained in:
Vito
2026-06-25 15:27:46 +02:00
parent 160b9abc65
commit a65eeea258

View File

@@ -224,7 +224,7 @@ checkDepositFreeze(
// 1. Asset is globally frozen
// 2. The trustline/mptoken of the pseudo-account is frozen
if (auto const ret = checkGlobalFrozen(view, asset))
if (auto const ret = checkGlobalFrozen(view, asset); !isTesSuccess(ret))
return ret;
// Special case for shares - check if the shares (and the transitive asset) is not frozen