dev@locazia: fix
This commit is contained in:
parent
b59dd47e2d
commit
6e169cff38
|
|
@ -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)
|
item_license_type = int(item_get_data_result['stack'][4][1], 16)
|
||||||
assert item_license_type == 0, "Item license type is not 0"
|
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_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_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']))
|
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()
|
encrypted_stored_content.updated = datetime.now()
|
||||||
session.commit()
|
session.commit()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
return platform_found, seqno
|
return platform_found, seqno
|
||||||
|
|
||||||
onchain_stored_content = StoredContent(
|
onchain_stored_content = StoredContent(
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue