aboutsummaryrefslogtreecommitdiffstats
path: root/libsolidity/interface/GasEstimator.cpp
diff options
context:
space:
mode:
authorAlex Beregszaszi <alex@rtfs.hu>2016-10-05 18:30:28 +0800
committerAlex Beregszaszi <alex@rtfs.hu>2016-10-06 21:53:40 +0800
commitaefb6e5fcf9adc7c58da9ec0454707305f7e9ac9 (patch)
tree30d17c29abf022cfcde24d13ebbd9285aadeb62b /libsolidity/interface/GasEstimator.cpp
parentd5cfb17b32147e950a689a507e0d5487dece7e8a (diff)
downloaddexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.gz
dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.tar.zst
dexon-solidity-aefb6e5fcf9adc7c58da9ec0454707305f7e9ac9.zip
Rename dev::sha3 to dev::keccak256
Diffstat (limited to 'libsolidity/interface/GasEstimator.cpp')
-rw-r--r--libsolidity/interface/GasEstimator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libsolidity/interface/GasEstimator.cpp b/libsolidity/interface/GasEstimator.cpp
index 99ed75bc..1c804b78 100644
--- a/libsolidity/interface/GasEstimator.cpp
+++ b/libsolidity/interface/GasEstimator.cpp
@@ -136,7 +136,7 @@ GasEstimator::GasConsumption GasEstimator::functionalEstimation(
ExpressionClasses& classes = state->expressionClasses();
using Id = ExpressionClasses::Id;
using Ids = vector<Id>;
- Id hashValue = classes.find(u256(FixedHash<4>::Arith(FixedHash<4>(dev::sha3(_signature)))));
+ Id hashValue = classes.find(u256(FixedHash<4>::Arith(FixedHash<4>(dev::keccak256(_signature)))));
Id calldata = classes.find(Instruction::CALLDATALOAD, Ids{classes.find(u256(0))});
classes.forceEqual(hashValue, Instruction::DIV, Ids{
calldata,