aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/contracts/src/contracts/current/test/TestValidator/TestValidator.sol6
-rw-r--r--packages/contracts/src/contracts/current/test/TestWallet/TestWallet.sol4
2 files changed, 5 insertions, 5 deletions
diff --git a/packages/contracts/src/contracts/current/test/TestValidator/TestValidator.sol b/packages/contracts/src/contracts/current/test/TestValidator/TestValidator.sol
index c0daf8f38..7eba61073 100644
--- a/packages/contracts/src/contracts/current/test/TestValidator/TestValidator.sol
+++ b/packages/contracts/src/contracts/current/test/TestValidator/TestValidator.sol
@@ -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,
diff --git a/packages/contracts/src/contracts/current/test/TestWallet/TestWallet.sol b/packages/contracts/src/contracts/current/test/TestWallet/TestWallet.sol
index 51556971d..e7ddf1d9f 100644
--- a/packages/contracts/src/contracts/current/test/TestWallet/TestWallet.sol
+++ b/packages/contracts/src/contracts/current/test/TestWallet/TestWallet.sol
@@ -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