Skip to content

Commit 2d29e83

Browse files
committed
Continue on empty key
1 parent e883f44 commit 2d29e83

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pkg/ton/debug/lib/lib.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,10 @@ func DecodeTLBStructKeys(v interface{}, tlbs map[uint64]interface{}) ([]string,
296296
k = strings.Split(jsonTag, ",")[0] // parse json tag options (key)
297297
}
298298

299+
if k == "" {
300+
continue
301+
}
302+
299303
out = append(out, k)
300304
}
301305
return out, nil

0 commit comments

Comments
 (0)