From 1d887e3d35d046b0dad492de79d18b6da4c78dc6 Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Wed, 4 May 2022 03:26:00 +0530 Subject: [PATCH] Update contracts/mainnet/connectors/basic/main.sol --- contracts/mainnet/connectors/basic/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/basic/main.sol b/contracts/mainnet/connectors/basic/main.sol index ff16043c..f9e09af4 100644 --- a/contracts/mainnet/connectors/basic/main.sol +++ b/contracts/mainnet/connectors/basic/main.sol @@ -62,7 +62,7 @@ abstract contract BasicResolver is Events, DSMath, Basic { uint256 setId ) public payable returns (string memory _eventName, bytes memory _eventParam) { uint _amt = getUint(getId, amt); - require(token != ethAddr, "Use deposit function to send ether"); + require(token != ethAddr, "eth-not-supported"); IERC20 tokenContract = IERC20(token); _amt = _amt == uint(-1) ? tokenContract.balanceOf(from) : _amt; tokenContract.safeTransferFrom(from, address(this), _amt);