chore: u2fsign

This commit is contained in:
2022-03-27 13:10:12 +08:00
parent 83cf20fd39
commit 67af75e718

View File

@@ -74,9 +74,8 @@ impl Command for CommandImpl {
return simple_error!("Couldn't register: {:?}", e); return simple_error!("Couldn't register: {:?}", e);
} }
let sign_result = sign_rx let sign_result = opt_result!(sign_rx.recv(),
.recv() "Problem receiving, unable to continue: {}");
.expect("Problem receiving, unable to continue");
let (_, handle_used, sign_data, device_info) = let (_, handle_used, sign_data, device_info) =
opt_result!(sign_result, "Sign failed: {}"); opt_result!(sign_result, "Sign failed: {}");