We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b2004 commit bca62f0Copy full SHA for bca62f0
src/rust/bitbox02-rust/src/hww/api/backup.rs
@@ -104,6 +104,11 @@ pub async fn create(
104
}
105
106
let seed = bitbox02::keystore::copy_seed()?;
107
+
108
+ // Yield now to give executor a chance to process USB/BLE communication, as copy_seed() causes
109
+ // some delay.
110
+ futures_lite::future::yield_now().await;
111
112
let seed_birthdate = if !is_initialized {
113
if bitbox02::memory::set_seed_birthdate(timestamp).is_err() {
114
return Err(Error::Memory);
0 commit comments