- Removed not needed receive() on LendingPool

This commit is contained in:
eboado 2020-11-11 16:05:44 +01:00
parent 9fdd9f11da
commit 82268e6a5e

View File

@ -728,13 +728,6 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
}
}
/**
* @dev avoids direct transfers of ETH
**/
receive() external payable {
revert();
}
/**
* @dev initializes a reserve
* @param asset the address of the reserve