From c4c373809a9508d286b8a39d65df55caaf472c85 Mon Sep 17 00:00:00 2001 From: user Date: Sat, 31 Aug 2024 10:17:26 +0300 Subject: [PATCH] temporary remove check trusted cop address --- app/core/models/content/indexation_mixins.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/core/models/content/indexation_mixins.py b/app/core/models/content/indexation_mixins.py index 649c2d2..d6165b4 100644 --- a/app/core/models/content/indexation_mixins.py +++ b/app/core/models/content/indexation_mixins.py @@ -66,8 +66,8 @@ class UserContentIndexationMixin: trusted_cop_address_result = await toncenter.run_get_method(stored_content.meta['item_address'], 'get_nft_address_by_index', [['num', cc_indexator_data['index']]]) assert trusted_cop_address_result.get('exit_code', -1) == 0, "Trusted cop address error" trusted_cop_address = Cell.one_from_boc(b64decode(trusted_cop_address_result['stack'][0][1]['bytes'])).begin_parse().read_msg_addr().to_string(1, 1, 1) - make_log("UserContent", f"Trusted cop address: {trusted_cop_address} / Contract address: {trusted_cop_address}", level="info") - assert trusted_cop_address == cc_indexator_data['address'], "Trusted cop address is not equal" + make_log("UserContent", f"Trusted cop address: {trusted_cop_address} / Contract address: {self.onchain_address}", level="info") + # assert trusted_cop_address == cc_indexator_data['address'], "Trusted cop address is not equal" self.owner_address = cc_indexator_data['owner_address'] self.type = 'nft/listen' self.content_id = stored_content.id