fix isETH condition in repay

This commit is contained in:
andyk 2020-06-05 10:35:29 +03:00
parent a281bdba97
commit d099d3c20e

View File

@ -640,7 +640,7 @@ contract LendingPool is ReentrancyGuard, VersionedInitializable {
);
}
if (vars.isETH) { //TODO: review needed, most probably we can remove it
if (!vars.isETH) { //TODO: review needed, most probably we can remove it
require(
msg.value == 0,
"User is sending ETH along with the ERC20 transfer."