Skip to content

Commit ea77671

Browse files
committed
added comment for readNameLen.
1 parent 05411e5 commit ea77671

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

internal/gocore/type.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,8 @@ func (p *Process) DynamicType(t *Type, a core.Address) *Type {
110110
}
111111
}
112112

113+
// return the number of bytes of the variable int and its value,
114+
// which means the length of a name.
113115
func readNameLen(p *Process, a core.Address) (int64, int64) {
114116
if p.minorVersion >= 17 {
115117
v := 0

0 commit comments

Comments
 (0)