diff --git a/app/core/background/indexer_service.py b/app/core/background/indexer_service.py index 63078a3..5987f79 100644 --- a/app/core/background/indexer_service.py +++ b/app/core/background/indexer_service.py @@ -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(