From 63210e5a6811b4e09ca4b0482d7752f9b959f7a7 Mon Sep 17 00:00:00 2001 From: Anton Bukov Date: Tue, 9 May 2023 12:21:01 +0200 Subject: [PATCH] Update libsolidity/codegen/ir/IRGeneratorForStatements.cpp Co-authored-by: Hari --- libsolidity/codegen/ir/IRGeneratorForStatements.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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") {