From 07e56b3cc7f1171cb199b5f0e286971d0704adb6 Mon Sep 17 00:00:00 2001 From: Remco Bloemen Date: Thu, 23 Aug 2018 15:33:46 -0700 Subject: Fix taker overpay check --- packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/contracts/src') 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 e281de264..b3671e7e8 100644 --- a/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol +++ b/packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol @@ -331,7 +331,7 @@ contract MixinExchangeCore is // NOTE: This assertion should never fail, it is here // as an extra defence against potential bugs. require( - takerAssetFilledAmount <= takerAssetFilledAmount, + takerAssetFilledAmount <= takerAssetFillAmount, "BUG_TAKER_OVERPAY" ); -- cgit