diff --git a/services/modals/Cargo.toml b/services/modals/Cargo.toml index cb838091a..f9177049a 100644 --- a/services/modals/Cargo.toml +++ b/services/modals/Cargo.toml @@ -30,4 +30,5 @@ hosted = ["utralib/hosted"] renode = ["utralib/renode"] tts = [] ditherpunk = [] +hazardous-debug = [] default = [] diff --git a/services/modals/src/main.rs b/services/modals/src/main.rs index 814b3a921..774f4f094 100644 --- a/services/modals/src/main.rs +++ b/services/modals/src/main.rs @@ -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);