From d39917fd0d80bcb711654cfd82c1dd5f04c4c7be Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Tue, 12 Jun 2018 17:25:20 +0100 Subject: Update external contract in compilationTests to not use deprecated sha3 --- test/compilationTests/milestonetracker/MilestoneTracker.sol | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test/compilationTests/milestonetracker/MilestoneTracker.sol') 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