chore: u2fsign
This commit is contained in:
@@ -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: {}");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user