Merge branch 'fix/143-remove-receive' into 'master'

- Removed not needed receive() on LendingPool

Closes #143

See merge request aave-tech/protocol-v2!164
This commit is contained in:
The-3D 2020-11-11 15:08:19 +00:00
commit cdfd16b626

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