diff options
author | Greg Hysen <greg.hysen@gmail.com> | 2018-06-20 09:55:19 +0800 |
---|---|---|
committer | Greg Hysen <greg.hysen@gmail.com> | 2018-06-21 04:54:39 +0800 |
commit | 7814a391d8698f0b865d5f2675b9cc068eeab986 (patch) | |
tree | 7defddb569b7ca3ad9ecbf1b9470ce02281a53dd /packages/contracts/src | |
parent | 322151b0d5d811bf1925f8479de3151316ce44dc (diff) | |
download | dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.tar dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.tar.gz dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.tar.bz2 dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.tar.lz dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.tar.xz dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.tar.zst dexon-sol-tools-7814a391d8698f0b865d5f2675b9cc068eeab986.zip |
Few more minor #nit wording changes
Diffstat (limited to 'packages/contracts/src')
-rw-r--r-- | packages/contracts/src/contracts/current/test/TestValidator/TestValidator.sol | 6 | ||||
-rw-r--r-- | packages/contracts/src/contracts/current/test/TestWallet/TestWallet.sol | 4 |
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 |