Update contracts/mainnet/connectors/socket/main.sol

This commit is contained in:
Thrilok kumar 2022-06-10 22:39:46 +05:30 committed by GitHub
parent 5e7916d0f2
commit a4ddc87f52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -71,7 +71,6 @@ abstract contract SocketConnector is SocketConnectorResolver {
if(_token == ethAddr) {
_ethAmt = _amount;
} else {
TokenInterface _tokenContract = TokenInterface(_token);
_tokenContract.approve(getAllowanceTarget(_route), _amount);