mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
remove fallback function
This commit is contained in:
parent
ca38d2337e
commit
3ebf7cbb89
|
|
@ -45,8 +45,7 @@ contract Matcha {
|
||||||
|
|
||||||
IWETH WETH = getWETHAddress();
|
IWETH WETH = getWETHAddress();
|
||||||
|
|
||||||
// Payable fallback to allow this contract to receive protocol fee refunds.
|
|
||||||
receive() external payable {}
|
|
||||||
|
|
||||||
// Transfer tokens held by this contrat to the sender/owner.
|
// Transfer tokens held by this contrat to the sender/owner.
|
||||||
function withdrawToken(TokenInterface token, uint256 amount)
|
function withdrawToken(TokenInterface token, uint256 amount)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user