Skip to content

Commit

Permalink
Merge branch 'master' into external-addresses
Browse files Browse the repository at this point in the history
  • Loading branch information
yungwine authored Feb 4, 2024
2 parents d49db7d + 3483568 commit 59733e3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pytoniq_core/boc/builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,8 @@ def store_snake_bytes(self, value: bytes):
if len(value) == 0:
return self
i = self.available_bytes
if len(value) <= i:
return self.store_bytes(value)
return self.store_bytes(value[:i]).store_ref(Builder().store_snake_bytes(value[i:]).end_cell())

def store_snake_string(self, value: str, need_prefix: bool = False):
Expand Down

0 comments on commit 59733e3

Please sign in to comment.