Remove unreachable PreSigned check

This code was unreachable, as it had the exact same condition as line 206.
This commit is contained in:
Austin Roberts
2018-06-21 14:15:20 -05:00
parent 8ab65fdde4
commit a3ba7683f4

View File

@@ -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