aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/src
diff options
context:
space:
mode:
authorAustin Roberts <code@ausiv.com>2018-06-22 03:15:20 +0800
committerAustin Roberts <code@ausiv.com>2018-06-22 03:15:20 +0800
commita3ba7683f4734d82cf8e2508cc00709a775bbc58 (patch)
treebcdb7ba4a944e2525d5638a20437c77c83ca6fbe /packages/contracts/src
parent8ab65fdde4629efd4c7effe9f4ae019e6e058b8c (diff)
downloaddexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.tar
dexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.tar.gz
dexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.tar.bz2
dexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.tar.lz
dexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.tar.xz
dexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.tar.zst
dexon-sol-tools-a3ba7683f4734d82cf8e2508cc00709a775bbc58.zip
Remove unreachable PreSigned check
This code was unreachable, as it had the exact same condition as line 206.
Diffstat (limited to 'packages/contracts/src')
-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