From 2edf3c72e4428a6919dca406ccf503577d181a4a Mon Sep 17 00:00:00 2001 From: "Peter D. Gray" Date: Thu, 5 Mar 2026 14:22:56 -0500 Subject: [PATCH] nits --- shared/wif.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/shared/wif.py b/shared/wif.py index 271c934e..cbd9cd18 100644 --- a/shared/wif.py +++ b/shared/wif.py @@ -50,12 +50,13 @@ async def ux_visualize_wif(wif_str, kp, compressed, testnet): pk = b2a_hex(kp.pubkey().to_bytes(not compressed)).decode() msg = "%s\n\nchain: %s\n\nPrivkey:\n%s\n\nPubkey:\n%s" % (wif_str, ch_str, sk, pk) esc = "" + if compressed and (testnet == (chains.current_chain().ctype != "BTC")): # we only support compressed in WIF store msg += "\n\nPress (1) to import to WIF Store." esc += "1" - ch = await ux_show_story(msg, title="WIF", escape=esc) + ch = await ux_show_story(msg, title="WIF Key", escape=esc) if ch == "1": saved = settings.get("wifs", []) if (pk, sk) in saved: @@ -65,6 +66,7 @@ async def ux_visualize_wif(wif_str, kp, compressed, testnet): saved.append((pk, sk)) settings.set('wifs', saved) settings.save() + await ux_show_story("Saved to WIF Store.", title="Success")