From 641de4f587f2d7024704232ae9abc6929cea38ef Mon Sep 17 00:00:00 2001 From: ZhouYinhui Date: Wed, 22 Mar 2023 15:06:59 +0800 Subject: [PATCH] add: check liquidity in EToken::donateToReserves() --- contracts/modules/EToken.sol | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contracts/modules/EToken.sol b/contracts/modules/EToken.sol index 8ab8d85a..ccae5a57 100644 --- a/contracts/modules/EToken.sol +++ b/contracts/modules/EToken.sol @@ -382,6 +382,8 @@ contract EToken is BaseLogic { emit Withdraw(assetCache.underlying, account, amount); emitViaProxy_Transfer(proxyAddr, account, address(0), amount); + checkLiquidity(account); + logAssetStatus(assetCache); } }