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:
parent
2f8d687405
commit
e660a518c6
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user