From a3ba7683f4734d82cf8e2508cc00709a775bbc58 Mon Sep 17 00:00:00 2001 From: Austin Roberts Date: Thu, 21 Jun 2018 14:15:20 -0500 Subject: Remove unreachable PreSigned check This code was unreachable, as it had the exact same condition as line 206. --- .../contracts/current/protocol/Exchange/MixinSignatureValidator.sol | 4 ---- 1 file changed, 4 deletions(-) (limited to 'packages/contracts/src') 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 -- cgit