Fixed revert message in LendingPool

This commit is contained in:
emilio 2020-07-09 17:05:16 +02:00
parent 853f3118dc
commit af04ce86f3

View File

@ -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));