diff options
author | Remco Bloemen <remco@wicked.ventures> | 2018-08-24 06:33:46 +0800 |
---|---|---|
committer | Remco Bloemen <remco@wicked.ventures> | 2018-08-25 07:46:23 +0800 |
commit | 07e56b3cc7f1171cb199b5f0e286971d0704adb6 (patch) | |
tree | 1dda7a610d336ede84700292e1a105605e0e5503 /packages/contracts/src/2.0.0 | |
parent | b16f5f55fb66aac624dfb82b881026b588f66b79 (diff) | |
download | dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.tar dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.tar.gz dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.tar.bz2 dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.tar.lz dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.tar.xz dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.tar.zst dexon-0x-contracts-07e56b3cc7f1171cb199b5f0e286971d0704adb6.zip |
Fix taker overpay check
Diffstat (limited to 'packages/contracts/src/2.0.0')
-rw-r--r-- | packages/contracts/src/2.0.0/protocol/Exchange/MixinExchangeCore.sol | 2 |
1 files changed, 1 insertions, 1 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 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" ); |