aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/contracts/src/2.0.0/forwarder/LibForwarderErrors.sol1
-rw-r--r--packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol10
2 files changed, 0 insertions, 11 deletions
diff --git a/packages/contracts/src/2.0.0/forwarder/LibForwarderErrors.sol b/packages/contracts/src/2.0.0/forwarder/LibForwarderErrors.sol
index af85c75e3..69108738a 100644
--- a/packages/contracts/src/2.0.0/forwarder/LibForwarderErrors.sol
+++ b/packages/contracts/src/2.0.0/forwarder/LibForwarderErrors.sol
@@ -31,5 +31,4 @@ contract LibForwarderErrors {
string constant DEFAULT_FUNCTION_WETH_CONTRACT_ONLY = "DEFAULT_FUNCTION_WETH_CONTRACT_ONLY"; // Fallback function may only be used for WETH withdrawals.
string constant INVALID_MSG_VALUE = "INVALID_MSG_VALUE"; // msg.value must be greater than 0.
string constant INVALID_AMOUNT = "INVALID_AMOUNT"; // Amount must equal 1.
- string constant INVALID_ORDERS_LENGTH = "INVALID_ORDERS_LENGTH"; // Length of orders must be greater than 1.
}
diff --git a/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol b/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol
index 7a136b018..2ec2e2638 100644
--- a/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol
+++ b/packages/contracts/src/2.0.0/forwarder/MixinForwarderCore.sol
@@ -77,11 +77,6 @@ contract MixinForwarderCore is
FillResults memory feeOrderFillResults
)
{
- require(
- orders.length > 0,
- "INVALID_ORDERS_LENGTH"
- );
-
// Convert ETH to WETH.
convertEthToWeth();
@@ -175,11 +170,6 @@ contract MixinForwarderCore is
FillResults memory feeOrderFillResults
)
{
- require(
- orders.length > 0,
- "INVALID_ORDERS_LENGTH"
- );
-
// Convert ETH to WETH.
convertEthToWeth();