Skip to content

Commit 59d8169

Browse files
Merge pull request tronprotocol#2019 from tronprotocol/Hotfix/internalEventParser
Hotfix/internal event parser
2 parents eb4ecaa + 24ce900 commit 59d8169

File tree

5 files changed

+129
-121
lines changed

5 files changed

+129
-121
lines changed

src/main/java/org/tron/common/logsfilter/ContractEventParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ private static String parseDataBytes(byte[] data, String typeStr, int index) {
171171
private static Type basicType(String type) {
172172
if (!Pattern.matches("^.*\\[\\d*\\]$", type)) {
173173
// ignore not valide type such as "int92", "bytes33", these types will be compiled failed.
174-
if ((type.startsWith("int") || type.startsWith("uint"))) {
174+
if (type.startsWith("int") || type.startsWith("uint") || type.startsWith("trcToken")) {
175175
return Type.INT_NUMBER;
176176
} else if (type.equals("bool")) {
177177
return Type.BOOL;

0 commit comments

Comments
 (0)