dev@locazia: edit address format
This commit is contained in:
1 parent
d6e0e123bc
commit
2722b9d68f
2 files changed
+3
-1
No files matched your search
@@ -6,6 +6,7 @@ from app.core.models._blockchain.ton.connect import TonConnect, unpack_wallet_in
|
||||
from app.core._config import WEB_APP_URLS
|
||||
from aiogram import types, Router, F
|
||||
from aiogram.filters import Command
|
||||
from tonsdk.utils import Address
|
||||
|
||||
|
||||
main_router = Router()
|
||||
@@ -14,7 +15,7 @@ main_router = Router()
|
||||
async def send_home_menu(chat_wrap, user, wallet_connection, **kwargs):
|
||||
return await tg_process_template(
|
||||
chat_wrap, user.translated('home_menu').format(
|
||||
wallet_address=wallet_connection.wallet_address,
|
||||
wallet_address=Address(wallet_connection.wallet_address).to_string(1, 1, 1),
|
||||
name=user.front_format(plain_text=True),
|
||||
), keyboard=get_inline_keyboard([
|
||||
[{
|
||||
|
||||
Reference in new issue
Block a user