1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-19 14:08:11 +00:00

fix(core): show xpub instead of pubkey in GetPublicKey dialog

This commit is contained in:
Pavol Rusnak 2020-11-21 12:08:57 +01:00
parent 2f8d687405
commit e660a518c6

View File

@ -52,6 +52,6 @@ async def get_public_key(ctx: wire.Context, msg: GetPublicKey) -> PublicKey:
)
if msg.show_display:
await layout.show_pubkey(ctx, pubkey)
await layout.show_xpub(ctx, node_xpub, "XPUB", "Cancel")
return PublicKey(node=node_type, xpub=node_xpub)