fix misprint

This commit is contained in:
user 2025-02-26 17:53:05 +03:00
parent 35b3e2db77
commit 64341188e6
1 changed files with 2 additions and 1 deletions

View File

@ -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'
}
)