Skip to content

Commit

Permalink
Fix tuple generate
Browse files Browse the repository at this point in the history
  • Loading branch information
becklabs committed Apr 14, 2024
1 parent d773152 commit 8b70b0e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lslpy/contracts/primitives.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def check(self, x):
)

def generate(self, fuel):
return (contract.generate(fuel) for contract in self.contracts)
return tuple(contract.generate(fuel) for contract in self.contracts)

def __getitem__(self, params: tuple[Contract]):
return _Tuple(*params)
Expand Down

0 comments on commit 8b70b0e

Please sign in to comment.