From 3ebf7cbb897668f195b603a3960b7aff96aafe49 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNjoku?= <“kalunjoku123@gmail.com”> Date: Tue, 2 Feb 2021 12:34:03 +0100 Subject: [PATCH] remove fallback function --- contracts/connectors/matcha.sol | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/contracts/connectors/matcha.sol b/contracts/connectors/matcha.sol index bee7349..73077fd 100644 --- a/contracts/connectors/matcha.sol +++ b/contracts/connectors/matcha.sol @@ -45,8 +45,7 @@ contract Matcha { 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. function withdrawToken(TokenInterface token, uint256 amount)