Skip to content

Commit

Permalink
Replace constant with pure modifier
Browse files Browse the repository at this point in the history
  • Loading branch information
toninorair committed Mar 23, 2018
1 parent 1afc71e commit 584c832
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion contracts/HashedTimelock.sol
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ contract HashedTimelock {
* @return the hashed secret.
*/
function hashSecret(bytes32 secret)
constant
pure
public
returns(bytes32 hashed)
{
Expand Down
2 changes: 1 addition & 1 deletion contracts/HashedTimelockERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ contract HashedTimelockERC20 {
* @return the hashed secret.
*/
function hashSecret(bytes32 secret)
constant
pure
public
returns(bytes32 hashed)
{
Expand Down

0 comments on commit 584c832

Please sign in to comment.