From 62c93b77302531f1dd34a02164d504f8e497fa76 Mon Sep 17 00:00:00 2001 From: user Date: Mon, 28 Oct 2024 12:49:02 +0300 Subject: [PATCH] debug moment --- app/core/models/content/indexation_mixins.py | 1 + 1 file changed, 1 insertion(+) diff --git a/app/core/models/content/indexation_mixins.py b/app/core/models/content/indexation_mixins.py index d6165b4..4edf042 100644 --- a/app/core/models/content/indexation_mixins.py +++ b/app/core/models/content/indexation_mixins.py @@ -56,6 +56,7 @@ class UserContentIndexationMixin: assert cc_indexator_data['address'] == self.onchain_address, "Address is not equal" values_slice = cc_indexator_data['values'].begin_parse() content_hash_b58 = base58.b58encode(bytes.fromhex(hex(values_slice.read_uint(256))[2:])).decode() + make_log("UserContent", f"License ({self.onchain_address}) content hash: {content_hash_b58}", level="info") stored_content = db_session.query(StoredContent).filter( and_( StoredContent.type == 'onchain/content',