mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-16 19:38:09 +00:00
paths: typo, style
This commit is contained in:
parent
2acf0d10bd
commit
d83ef07d57
@ -15,9 +15,9 @@ async def validate_path(ctx, validate_func, **kwargs):
|
|||||||
|
|
||||||
async def show_path_warning(ctx, path: list):
|
async def show_path_warning(ctx, path: list):
|
||||||
text = Text("Confirm path", ui.ICON_WRONG, icon_color=ui.RED)
|
text = Text("Confirm path", ui.ICON_WRONG, icon_color=ui.RED)
|
||||||
text.normal("The path")
|
text.normal("Path")
|
||||||
text.mono(*break_address_n_to_lines(path))
|
text.mono(*break_address_n_to_lines(path))
|
||||||
text.normal("seems unusual.")
|
text.normal("is unknown.")
|
||||||
text.normal("Are you sure?")
|
text.normal("Are you sure?")
|
||||||
return await require_confirm(
|
return await require_confirm(
|
||||||
ctx, text, code=ButtonRequestType.UnknownDerivationPath
|
ctx, text, code=ButtonRequestType.UnknownDerivationPath
|
||||||
|
@ -6,7 +6,7 @@ from trezor.messages.TezosSignedTx import TezosSignedTx
|
|||||||
|
|
||||||
from apps.common import paths, seed
|
from apps.common import paths, seed
|
||||||
from apps.common.writers import write_bytes, write_uint8
|
from apps.common.writers import write_bytes, write_uint8
|
||||||
from apps.tezos import layout, helpers
|
from apps.tezos import helpers, layout
|
||||||
|
|
||||||
|
|
||||||
async def sign_tx(ctx, msg):
|
async def sign_tx(ctx, msg):
|
||||||
|
Loading…
Reference in New Issue
Block a user