Skip to content

Commit

Permalink
adding descriptive comment for bounds in StackType
Browse files Browse the repository at this point in the history
  • Loading branch information
barnjamin committed May 8, 2023
1 parent 00f611c commit 682557e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions data/transactions/logic/eval.go
Original file line number Diff line number Diff line change
Expand Up @@ -747,9 +747,9 @@ func union(a, b [2]uint64) [2]uint64 {

// StackType describes the type of a value on the operand stack
type StackType struct {
Name string
Name string // alias (address, boolean, ...) or derived name [5]byte
AVMType avmType
Bound [2]uint64
Bound [2]uint64 // represents max/min value for uint64 or max/min length for byte[]
}

// NewStackType Initializes a new StackType with fields passed
Expand Down

0 comments on commit 682557e

Please sign in to comment.