mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Fixed revert message in LendingPool
This commit is contained in:
parent
853f3118dc
commit
af04ce86f3
|
@ -635,7 +635,7 @@ contract LendingPool is ReentrancyGuard, VersionedInitializable {
|
||||||
_receiveAToken
|
_receiveAToken
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
require(success, '24');
|
require(success, 'Liquidation call failed');
|
||||||
|
|
||||||
(uint256 returnCode, string memory returnMessage) = abi.decode(result, (uint256, string));
|
(uint256 returnCode, string memory returnMessage) = abi.decode(result, (uint256, string));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user