diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-06-22 07:08:45 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-06-22 07:10:12 +0800 |
commit | b333ed91de8d4f08cd614a52e2b0d602995c2b27 (patch) | |
tree | c56450a8d0b92dae973978ba7eba5bd8bd9f3036 /packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol | |
parent | 6a073d5f866665c43ab57d7246c7ea693264ed88 (diff) | |
download | dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.tar dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.tar.gz dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.tar.bz2 dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.tar.lz dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.tar.xz dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.tar.zst dexon-sol-tools-b333ed91de8d4f08cd614a52e2b0d602995c2b27.zip |
Add event to setSignatureValidatorApproval, rename signer => signerAddress accross all contracts
Diffstat (limited to 'packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol')
-rw-r--r-- | packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol b/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol index 901e71936..c227d210f 100644 --- a/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol +++ b/packages/contracts/src/contracts/current/protocol/Exchange/MixinExchangeCore.sol @@ -312,7 +312,11 @@ contract MixinExchangeCore is // Validate Maker signature (check only if first time seen) if (orderInfo.orderTakerAssetFilledAmount == 0) { require( - isValidSignature(orderInfo.orderHash, order.makerAddress, signature), + isValidSignature( + orderInfo.orderHash, + order.makerAddress, + signature + ), INVALID_ORDER_SIGNATURE ); } |