diff --git a/app/api/routes/_blockchain.py b/app/api/routes/_blockchain.py index 2526dac..54f46af 100644 --- a/app/api/routes/_blockchain.py +++ b/app/api/routes/_blockchain.py @@ -6,6 +6,7 @@ from sanic import response from tonsdk.boc import begin_cell, begin_dict from tonsdk.utils import Address +from base58 import b58encode from app.core._blockchain.ton.connect import TonConnect, wallet_obj_by_name from app.core._blockchain.ton.platform import platform from app.core._config import PROJECT_HOST @@ -103,7 +104,7 @@ async def s_api_v1_blockchain_send_new_content_message(request): request.ctx.user.translated('p_uploadContentTxRequested').format( title=content_title, ), message_type='hint', message_meta={ - 'encrypted_content_hash': encrypted_content_cid.content_hash, + 'encrypted_content_hash': b58encode(encrypted_content_cid.content_hash).decode(), 'hint_type': 'uploadContentTxRequested' } )