diff --git a/contracts/mainnet/connectors/mstable/main.sol b/contracts/mainnet/connectors/mstable/main.sol index 7f4d3cab..659ca535 100644 --- a/contracts/mainnet/connectors/mstable/main.sol +++ b/contracts/mainnet/connectors/mstable/main.sol @@ -51,7 +51,7 @@ abstract contract mStableResolver is Events, Helpers { path = imUsdToken } - return _deposit(_token, mintedAmount, path); + (_eventName, _eventParam) = _deposit(_token, mintedAmount, path); } /** @@ -86,7 +86,8 @@ abstract contract mStableResolver is Events, Helpers { _minOut, address(this) ); - return _deposit(_token, mintedAmount, _path); + + (_eventName, _eventParam) = _deposit(_token, mintedAmount, _path); } /** diff --git a/contracts/polygon/connectors/mstable/main.sol b/contracts/polygon/connectors/mstable/main.sol index 69b63e48..a0f88de5 100644 --- a/contracts/polygon/connectors/mstable/main.sol +++ b/contracts/polygon/connectors/mstable/main.sol @@ -51,7 +51,7 @@ abstract contract PmStableResolver is Events, Helpers { path = imUsdToken } - return _deposit(_token, mintedAmount, path); + (_eventName, _eventParam) = _deposit(_token, mintedAmount, path); } /** @@ -86,7 +86,8 @@ abstract contract PmStableResolver is Events, Helpers { _minOut, address(this) ); - return _deposit(_token, mintedAmount, _path); + + (_eventName, _eventParam) = _deposit(_token, mintedAmount, _path); } /**