File tree Expand file tree Collapse file tree 3 files changed +116
-108
lines changed
Expand file tree Collapse file tree 3 files changed +116
-108
lines changed Original file line number Diff line number Diff line change @@ -115,8 +115,8 @@ class SSKRShareSeq {
115115 int last_restore_error () { return last_rv; }
116116
117117 uint8_t *shares[MAX_SHARES]; // shares in bytes format
118- String shares_ur[MAX_SHARES]; // shares in ur format (read only)
119- String shares_bytewords[MAX_SHARES]; // shares in bytewords format (read-only)
118+ String shares_ur[MAX_SHARES]; // shares in ur format @TODO: getter
119+ String shares_bytewords[MAX_SHARES]; // shares in bytewords format @TODO: getter
120120 size_t shares_len; // threshold
121121 size_t bytes_in_each_share;
122122
Original file line number Diff line number Diff line change @@ -56,10 +56,10 @@ struct pg_derivation_path_t {
5656};
5757
5858struct pg_set_xpub_format_t {
59- format xpub_format ;
59+ format current ;
6060
6161 String get_xpub_format_as_string (void ) {
62- switch (xpub_format ) {
62+ switch (current ) {
6363 case text :
6464 return "base58" ;
6565 case qr_text :
@@ -81,6 +81,7 @@ struct pg_xpub_menu_t {
8181struct pg_set_xpub_options_t {
8282 bool slip132 ;
8383 bool show_derivation_path ;
84+ bool current ; // currently selected option out of 2
8485};
8586
8687struct pg_set_seed_format_t {
You can’t perform that action at this time.
0 commit comments