From b54a112d6336a7cab654443a2453041a5cac03aa Mon Sep 17 00:00:00 2001 From: thunderbiscuit Date: Tue, 30 Jun 2026 14:16:19 -0400 Subject: [PATCH] chore: remove todo comment --- bdk-ffi/src/keys.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bdk-ffi/src/keys.rs b/bdk-ffi/src/keys.rs index f6bd9819a..b2e353637 100644 --- a/bdk-ffi/src/keys.rs +++ b/bdk-ffi/src/keys.rs @@ -32,7 +32,6 @@ impl Mnemonic { /// Generate a mnemonic given a word count. #[uniffi::constructor] pub fn new(word_count: WordCount) -> Self { - // TODO 4: I DON'T KNOW IF THIS IS A DECENT WAY TO GENERATE ENTROPY PLEASE CONFIRM let mut rng = rand::thread_rng(); let mut entropy = [0u8; 32]; rng.fill(&mut entropy); @@ -42,6 +41,7 @@ impl Mnemonic { let mnemonic = BdkMnemonic::parse_in(Language::English, generated_key.to_string()).unwrap(); Mnemonic(mnemonic) } + /// Parse a string as a mnemonic seed phrase. #[uniffi::constructor] pub fn from_string(mnemonic: String) -> Result {