From 64341188e6845525050d2c8ad746b59e6a6abade Mon Sep 17 00:00:00 2001 From: user Date: Wed, 26 Feb 2025 17:53:05 +0300 Subject: [PATCH] fix misprint --- app/api/routes/_blockchain.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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' } )