mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
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:
commit
cdfd16b626
|
@ -728,13 +728,6 @@ contract LendingPool is VersionedInitializable, ILendingPool, LendingPoolStorage
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @dev avoids direct transfers of ETH
|
|
||||||
**/
|
|
||||||
receive() external payable {
|
|
||||||
revert();
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev initializes a reserve
|
* @dev initializes a reserve
|
||||||
* @param asset the address of the reserve
|
* @param asset the address of the reserve
|
||||||
|
|
Loading…
Reference in New Issue
Block a user