From 32ccc0ccdc15e14d9e9a383ed03c164323fc12d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CNjoku?= <“kalunjoku123@gmail.com”> Date: Tue, 2 Feb 2021 12:35:18 +0100 Subject: [PATCH] remove transfer tokens function --- contracts/connectors/matcha.sol | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/contracts/connectors/matcha.sol b/contracts/connectors/matcha.sol index 73077fd..0a60d7a 100644 --- a/contracts/connectors/matcha.sol +++ b/contracts/connectors/matcha.sol @@ -47,12 +47,7 @@ contract Matcha { - // Transfer tokens held by this contrat to the sender/owner. - function withdrawToken(TokenInterface token, uint256 amount) - external - { - require(token.transfer(address(this), amount)); - } + // Transfer ETH held by this contrat to the sender/owner. function withdrawETH(uint256 amount)