Skip to content

Commit

Permalink
BUG FIX: for typo in ListElement initializer (#187)
Browse files Browse the repository at this point in the history
  • Loading branch information
oysterpack authored Jan 31, 2023
1 parent 858dab8 commit bfcae82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion beaker/lib/storage/_list.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ def __init__(self, name: Expr, element_size: Expr, idx: Expr):
if element_size.type_of() != TealType.uint64:
raise TealTypeError(element_size.type_of(), TealType.uint64)

if element_size.type_of() != TealType.uint64:
if idx.type_of() != TealType.uint64:
raise TealTypeError(idx.type_of(), TealType.uint64)

self.name = name
Expand Down

0 comments on commit bfcae82

Please sign in to comment.