From d3af144be3e84fd03e9d95bba9570ca26708b4c9 Mon Sep 17 00:00:00 2001 From: xiaoguang Date: Sun, 8 Oct 2023 15:04:52 +0800 Subject: [PATCH] fix: fix prepare_sign function bug --- imkey-core/ikc-common/src/apdu.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imkey-core/ikc-common/src/apdu.rs b/imkey-core/ikc-common/src/apdu.rs index 6c916d97..8dffa743 100644 --- a/imkey-core/ikc-common/src/apdu.rs +++ b/imkey-core/ikc-common/src/apdu.rs @@ -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());