Skip to content

Commit

Permalink
fix: reset bind timeout time
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoguang1010 committed May 9, 2024
1 parent e639902 commit 29cf9ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imkey-core/ikc-device/src/device_binding.rs
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ impl DeviceManage {
let identity_verify_apdu = ImkApdu::identity_verify(&apdu_data);
std::mem::drop(key_manager_obj);
//send command to device
let bind_result = send_apdu_timeout(identity_verify_apdu, TIMEOUT_LONG)?;
let bind_result = send_apdu_timeout(identity_verify_apdu, TIMEOUT_LONG * 2)?;
ApduCheck::check_response(&bind_result)?;
let result_code = &bind_result[..bind_result.len() - 4];

Expand Down

0 comments on commit 29cf9ba

Please sign in to comment.