Update libsolidity/codegen/ir/IRGeneratorForStatements.cpp

Co-authored-by: Hari <webmail.hari@gmail.com>
This commit is contained in:
Anton Bukov 2023-05-09 12:21:01 +02:00
parent 3efe100179
commit 63210e5a68

View File

@ -1948,7 +1948,7 @@ void IRGeneratorForStatements::endVisit(MemberAccess const& _memberAccess)
StructType const* structType = dynamic_cast<StructType const*>(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")
{