diff options
author | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-13 00:25:20 +0800 |
---|---|---|
committer | Alex Beregszaszi <alex@rtfs.hu> | 2018-06-13 01:16:18 +0800 |
commit | d39917fd0d80bcb711654cfd82c1dd5f04c4c7be (patch) | |
tree | c13cbfa3e733ee4e882478c396df8148f017f8de /test/compilationTests/milestonetracker | |
parent | 9de45383d81c666deba27162ce163fc1c8c852dc (diff) | |
download | dexon-solidity-d39917fd0d80bcb711654cfd82c1dd5f04c4c7be.tar.gz dexon-solidity-d39917fd0d80bcb711654cfd82c1dd5f04c4c7be.tar.zst dexon-solidity-d39917fd0d80bcb711654cfd82c1dd5f04c4c7be.zip |
Update external contract in compilationTests to not use deprecated sha3
Diffstat (limited to 'test/compilationTests/milestonetracker')
-rw-r--r-- | test/compilationTests/milestonetracker/MilestoneTracker.sol | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/compilationTests/milestonetracker/MilestoneTracker.sol b/test/compilationTests/milestonetracker/MilestoneTracker.sol index 318330df..2f0d58cb 100644 --- a/test/compilationTests/milestonetracker/MilestoneTracker.sol +++ b/test/compilationTests/milestonetracker/MilestoneTracker.sol @@ -196,7 +196,7 @@ contract MilestoneTracker { } /// @notice `onlyDonor` Approves the proposed milestone list - /// @param _hashProposals The sha3() of the proposed milestone list's + /// @param _hashProposals The keccak256() of the proposed milestone list's /// bytecode; this confirms that the `donor` knows the set of milestones /// they are approving function acceptProposedMilestones(bytes32 _hashProposals @@ -205,7 +205,7 @@ contract MilestoneTracker { uint i; if (!changingMilestones) throw; - if (sha3(proposedMilestones) != _hashProposals) throw; + if (keccak256(proposedMilestones) != _hashProposals) throw; // Cancel all the unfinished milestones for (i=0; i<milestones.length; i++) { |