Skip to content

Commit

Permalink
fix: fix prepare_sign function bug
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoguang1010 committed Oct 8, 2023
1 parent 8e79f56 commit d3af144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imkey-core/ikc-common/src/apdu.rs
Original file line number Diff line number Diff line change
Expand Up @@ -448,7 +448,7 @@ impl Apdu {
(data.len() as u32 - LC_MAX as u32 * (size - 1 as u32)) as u8,
)
} else {
(0x00, 0xF5)
(0x00, 0xEF)
};
let apdu_header = ApduHeader::new(0x80, ins, p1, p2, lc);
apdu.extend(apdu_header.to_array().iter());
Expand Down

0 comments on commit d3af144

Please sign in to comment.