aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol b/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol
index e5bd306dd..1a0a1a135 100644
--- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol
+++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol
@@ -332,7 +332,7 @@ contract MixinExchangeCore is
// as an extra defence against potential bugs.
require(
takerAssetFilledAmount <= takerAssetFillAmount,
- "BUG_TAKER_OVERPAY"
+ "TAKER_OVERPAY"
);
// Make sure order is not overfilled
@@ -340,7 +340,7 @@ contract MixinExchangeCore is
// as an extra defence against potential bugs.
require(
safeAdd(orderInfo.orderTakerAssetFilledAmount, takerAssetFilledAmount) <= order.takerAssetAmount,
- "BUG_ORDER_OVERFILL"
+ "ORDER_OVERFILL"
);
// Make sure order is filled at acceptable price.
@@ -364,7 +364,7 @@ contract MixinExchangeCore is
safeMul(makerAssetFilledAmount, order.takerAssetAmount)
<=
safeMul(order.makerAssetAmount, takerAssetFilledAmount),
- "BUG_ORDER_FILL_PRICING"
+ "INVALID_FILL_PRICE"
);
// Validate fill order rounding