mirror of
https://github.com/Instadapp/aave-protocol-v2.git
synced 2024-07-29 21:47:30 +00:00
Change require to revert
This commit is contained in:
parent
6ab6b835a2
commit
ad5fa1b9a0
|
@ -115,6 +115,6 @@ contract WETHGateway is IWETHGateway {
|
||||||
* @dev Revert fallback calls
|
* @dev Revert fallback calls
|
||||||
*/
|
*/
|
||||||
fallback() external payable {
|
fallback() external payable {
|
||||||
require(false, 'Fallback not allowed');
|
revert('Fallback not allowed');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user