mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Rename dev::sha3 to dev::keccak256
This commit is contained in:
@@ -302,7 +302,7 @@ dev::h256 CompilerStack::contractCodeHash(string const& _contractName) const
|
||||
if (obj.bytecode.empty() || !obj.linkReferences.empty())
|
||||
return dev::h256();
|
||||
else
|
||||
return dev::sha3(obj.bytecode);
|
||||
return dev::keccak256(obj.bytecode);
|
||||
}
|
||||
|
||||
Json::Value CompilerStack::streamAssembly(ostream& _outStream, string const& _contractName, StringMap _sourceCodes, bool _inJsonFormat) const
|
||||
|
||||
Reference in New Issue
Block a user