diff --git a/libsolidity/codegen/ir/IRGeneratorForStatements.cpp b/libsolidity/codegen/ir/IRGeneratorForStatements.cpp index 9fdc1556e..6240d5a22 100644 --- a/libsolidity/codegen/ir/IRGeneratorForStatements.cpp +++ b/libsolidity/codegen/ir/IRGeneratorForStatements.cpp @@ -1948,7 +1948,7 @@ void IRGeneratorForStatements::endVisit(MemberAccess const& _memberAccess) StructType const* structType = dynamic_cast(arg); solAssert(!structType); StructDefinition const& struct_ = structType->structDefinition(); - define(_memberAccess) << "0x" << toHex(struct_.typehash()) << "\n"; + define(_memberAccess) << "0x" << struct_.typehash() << "\n"; } else if (member == "min" || member == "max") {