mirror of
https://github.com/XRPLF/rippled.git
synced 2026-08-03 04:01:01 +00:00
fix: missing ret check
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user