Skip to content

Commit

Permalink
Fix uint32
Browse files Browse the repository at this point in the history
  • Loading branch information
tvorogme committed Oct 26, 2024
1 parent 0fa7039 commit 98541c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tonpy/abi/getter.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def parse_stack_item(self, stack_entry: StackEntry, tlb_sources, force_all: bool
stack_entry.as_uint(int(self.dton_type.replace('UInt', '')))}
elif self.dton_type == 'Datetime':
return {
f"{self.dton_parse_prefix}{self.name}": stack_entry.as_uint(64)
f"{self.dton_parse_prefix}{self.name}": stack_entry.as_uint(32)
}
elif self.type == 'Tuple' and stack_entry.get_type() is StackEntry.Type.t_tuple:
data = {}
Expand Down

0 comments on commit 98541c8

Please sign in to comment.