Few more minor #nit wording changes

This commit is contained in:
Greg Hysen
2018-06-19 18:55:19 -07:00
parent 322151b0d5
commit 7814a391d8
2 changed files with 5 additions and 5 deletions

View File

@@ -28,16 +28,16 @@ contract TestValidator is
address validSigner;
/// @dev constructs a new `TestValidator` with a single valid signer.
/// @param _validSigner The sole signer for this wallet.
/// @param _validSigner The sole, valid signer.
constructor (address _validSigner) public {
validSigner = _validSigner;
}
/// @dev Verifies that a signature is valid.
/// @dev Verifies that a signature is valid. `signer` must match `validSigner`.
/// @param hash Message hash that is signed.
/// @param signer Address that should have signed the given hash.
/// @param signature Proof of signing.
/// @return Validity of order signature.
/// @return Validity of signature.
function isValidSignature(
bytes32 hash,
address signer,

View File

@@ -38,10 +38,10 @@ contract TestWallet is
}
/// @dev Validates an EIP712 signature.
/// The signer must match the signer of this wallet.
/// The signer must match the owner of this wallet.
/// @param hash Message hash that is signed.
/// @param eip712Signature Proof of signing.
/// @return Validity of order signature.
/// @return Validity of signature.
function isValidSignature(
bytes32 hash,
bytes eip712Signature