dev@locazia: fix

This commit is contained in:
user 2024-03-08 10:36:10 +03:00
parent b59dd47e2d
commit 6e169cff38
1 changed files with 5 additions and 1 deletions

View File

@ -68,7 +68,7 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
item_license_type = int(item_get_data_result['stack'][4][1], 16)
assert item_license_type == 0, "Item license type is not 0"
item_owner_address = Cell.one_from_boc(b64decode(item_get_data_result['stack'][5][1])["bytes"]).begin_parse().read_msg_addr()
item_owner_address = Cell.one_from_boc(b64decode(item_get_data_result['stack'][5][1]["bytes"])).begin_parse().read_msg_addr()
item_values = Cell.one_from_boc(b64decode(item_get_data_result['stack'][6][1]['bytes']))
item_derivates = Cell.one_from_boc(b64decode(item_get_data_result['stack'][7][1]['bytes']))
item_platform_variables = Cell.one_from_boc(b64decode(item_get_data_result['stack'][8][1]['bytes']))
@ -118,6 +118,10 @@ async def indexer_loop(platform_found: bool, seqno: int) -> [bool, int]:
encrypted_stored_content.updated = datetime.now()
session.commit()
return platform_found, seqno
onchain_stored_content = StoredContent(