diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 00:51:23 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-07-07 01:58:28 +0800 |
commit | d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd (patch) | |
tree | 978dd0a5132eee644d2163a33e25a24fdd4a3f14 /packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol | |
parent | e796734659ddea76622d81b4416e0b36d5e7c0ed (diff) | |
download | dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.gz dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.bz2 dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.lz dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.xz dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.tar.zst dexon-0x-contracts-d2e422cd5eab26108e6c7a9f73c944f4b6fb4fdd.zip |
Apply new linter rules
Diffstat (limited to 'packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol')
-rw-r--r-- | packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol b/packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol index 5076dedc9..6278aede0 100644 --- a/packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol +++ b/packages/contracts/src/2.0.0/test/TestValidator/TestValidator.sol @@ -16,7 +16,7 @@ */ -pragma solidity ^0.4.24; +pragma solidity 0.4.24; import "../../protocol/Exchange/interfaces/IValidator.sol"; @@ -27,7 +27,7 @@ contract TestValidator is // The single valid signer for this wallet. // solhint-disable-next-line var-name-mixedcase - address VALID_SIGNER; + address internal VALID_SIGNER; /// @dev constructs a new `TestValidator` with a single valid signer. /// @param validSigner The sole, valid signer. @@ -40,6 +40,7 @@ contract TestValidator is /// @param signerAddress Address that should have signed the given hash. /// @param signature Proof of signing. /// @return Validity of signature. + // solhint-disable no-unused-vars function isValidSignature( bytes32 hash, address signerAddress, @@ -51,4 +52,5 @@ contract TestValidator is { return (signerAddress == VALID_SIGNER); } + // solhint-enable no-unused-vars } |