Skip to content

Commit

Permalink
Merge pull request #190 from aleksandrkaekhtin/feature/new_projects_s6
Browse files Browse the repository at this point in the history
Update sbt_enrollment.py
  • Loading branch information
aleksandrkaekhtin authored Sep 20, 2024
2 parents fd11738 + bf160bd commit 14eea20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backends/sbt_enrollment.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def sync(self, config: SeasonConfig):
end_block = None
if int(time.time()) > config.end_time:
end_block = config.block_before_end_ref
assert end_block is not None, "Season is closed, one need to specify last block ref"
# assert end_block is not None, "Season is closed, one need to specify last block ref"
code, data = self.tonapi.get_state(config.enrollment_sbt, target_block=end_block)
# logger.info(f"Got state: {state}")
[merkle_root] = self.executor.execute(code, data, config.enrollment_sbt, 'get_merkle_root', ['int'])
Expand Down

0 comments on commit 14eea20

Please sign in to comment.