aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-06-22 04:38:23 +0800
committerGitHub <noreply@github.com>2018-06-22 04:38:23 +0800
commit2d98193c832958844579e1c44d2771f5b11b6dbf (patch)
tree651800e8d42b17b3966fbc0117598040e081d204 /packages/contracts
parent685756f9d584a93297a2d0b2593ff36945bf121b (diff)
parenta3ba7683f4734d82cf8e2508cc00709a775bbc58 (diff)
downloaddexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.tar
dexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.tar.gz
dexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.tar.bz2
dexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.tar.lz
dexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.tar.xz
dexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.tar.zst
dexon-sol-tools-2d98193c832958844579e1c44d2771f5b11b6dbf.zip
Merge pull request #744 from NoteGio/v2-prototype-unreachable
Remove unreachable PreSigned check
Diffstat (limited to 'packages/contracts')
-rw-r--r--packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol4
1 files changed, 0 insertions, 4 deletions
diff --git a/packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol b/packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol
index 4a2beff57..5897e6416 100644
--- a/packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol
+++ b/packages/contracts/src/contracts/current/protocol/Exchange/MixinSignatureValidator.sol
@@ -232,10 +232,6 @@ contract MixinSignatureValidator is
isValid = signer == recovered;
return isValid;
- // Signer signed hash previously using the preSign function
- } else if (signatureType == SignatureType.PreSigned) {
- isValid = preSigned[hash][signer];
- return isValid;
}
// Anything else is illegal (We do not return false because