Skip to content

Commit 5f5f7eb

Browse files
committed
Fix missing bracket for tokenbalance function
1 parent 19cc216 commit 5f5f7eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsolidity/codegen/ir/IRGeneratorForStatements.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1634,7 +1634,7 @@ void IRGeneratorForStatements::endVisit(FunctionCall const& _functionCall)
16341634
std::string tokenId{expressionAsType(*arguments[0], *(parameterTypes[0]))};
16351635
Whiskers templ(R"(
16361636
if iszero(lt(0xf4240, <tokenId>)) { revert(0, 0) }
1637-
if iszero(gt(exp(2, 63), <tokenId>) { revert(0, 0) }
1637+
if iszero(gt(exp(2, 63), <tokenId>)) { revert(0, 0) }
16381638
let <result> := tokenbalance(<tokenId>, <address>)
16391639
)");
16401640
templ("address", address);

0 commit comments

Comments
 (0)