fix misprint
This commit is contained in:
parent
35b3e2db77
commit
64341188e6
|
|
@ -6,6 +6,7 @@ from sanic import response
|
||||||
from tonsdk.boc import begin_cell, begin_dict
|
from tonsdk.boc import begin_cell, begin_dict
|
||||||
from tonsdk.utils import Address
|
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.connect import TonConnect, wallet_obj_by_name
|
||||||
from app.core._blockchain.ton.platform import platform
|
from app.core._blockchain.ton.platform import platform
|
||||||
from app.core._config import PROJECT_HOST
|
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(
|
request.ctx.user.translated('p_uploadContentTxRequested').format(
|
||||||
title=content_title,
|
title=content_title,
|
||||||
), message_type='hint', message_meta={
|
), 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'
|
'hint_type': 'uploadContentTxRequested'
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue