From c2612b59b40cdfe0d3f94f0a515c0e424c9eed04 Mon Sep 17 00:00:00 2001 From: hackability Date: Sat, 21 Sep 2019 13:01:43 +0900 Subject: [PATCH] fix BooleanLiteral value --- solidity_parser/parser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/solidity_parser/parser.py b/solidity_parser/parser.py index 30ea087..ea27b61 100644 --- a/solidity_parser/parser.py +++ b/solidity_parser/parser.py @@ -639,7 +639,7 @@ def visitPrimaryExpression(self, ctx): if ctx.BooleanLiteral(): return Node(ctx=ctx, type='BooleanLiteral', - value=ctx.BooleanLiteral().getText() == 'True') + value=ctx.BooleanLiteral().getText() == 'true') if ctx.HexLiteral(): return Node(ctx=ctx,