From 57c70d54f4f0fded902e6036ad37ec61438f22c4 Mon Sep 17 00:00:00 2001 From: "Jamie C. Driver" Date: Sun, 6 Aug 2023 14:30:25 +0100 Subject: [PATCH] bip85: fix bip85 24-word generation '24 words' button raise '12-words' event. Regression in 1.0.21. Introduced in f33d02532261dba7ce4099a46c2ff8f694f9f76d --- main/ui/mnemonic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/ui/mnemonic.c b/main/ui/mnemonic.c index 1dee96d2..d083ed36 100644 --- a/main/ui/mnemonic.c +++ b/main/ui/mnemonic.c @@ -85,7 +85,7 @@ gui_activity_t* make_bip85_mnemonic_words_activity(void) { .txt = NULL, .font = GUI_DEFAULT_FONT, .ev_id = GUI_BUTTON_EVENT_NONE } }; btn_data_t menubtns[] = { { .txt = "12 Words", .font = GUI_DEFAULT_FONT, .ev_id = BTN_BIP85_12_WORDS }, - { .txt = "24 Words", .font = GUI_DEFAULT_FONT, .ev_id = BTN_BIP85_12_WORDS } }; + { .txt = "24 Words", .font = GUI_DEFAULT_FONT, .ev_id = BTN_BIP85_24_WORDS } }; gui_activity_t* const act = make_menu_activity("BIP85", hdrbtns, 2, menubtns, 2);