mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add hazardous-debug to modals bip-39
for convenient key printout during debug. flag is normally off.
This commit is contained in:
parent
dd82b7f32a
commit
fc08c3e29d
2 changed files with 3 additions and 0 deletions
|
|
@ -30,4 +30,5 @@ hosted = ["utralib/hosted"]
|
|||
renode = ["utralib/renode"]
|
||||
tts = []
|
||||
ditherpunk = []
|
||||
hazardous-debug = []
|
||||
default = []
|
||||
|
|
|
|||
|
|
@ -539,6 +539,8 @@ fn wrapped_main() -> ! {
|
|||
|
||||
let phrase = renderer_modal.gam.bytes_to_bip39(&config.bip39_data[..config.bip39_len as usize].to_vec())
|
||||
.unwrap_or(vec![t!("bip39.invalid_bytes", xous::LANG).to_string()]);
|
||||
#[cfg(feature = "hazardous-debug")]
|
||||
log::info!("BIP-39 phrase: {:?}", phrase);
|
||||
|
||||
for word in phrase {
|
||||
text.push_str(&word);
|
||||
|
|
|
|||
Loading…
Reference in a new issue