Skip to content

Commit

Permalink
fix: fix CI build error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoguang1010 committed Dec 31, 2024
1 parent cd627d6 commit 4609551
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion imkey-core/ikc-wallet/coin-tezos/src/transaction.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
use crate::tezosapi::{TezosTxInput, TezosTxOutput};
use crate::Result;
use anyhow::anyhow;
use bitcoin::util::base58;
use blake2b_simd::Params;
use ikc_common::apdu::{Apdu, ApduCheck, Ed25519Apdu};
Expand All @@ -17,7 +18,7 @@ impl Transaction {
pub fn sign_tx(tezos_tx_input: TezosTxInput, sign_param: &SignParam) -> Result<TezosTxOutput> {
//check path
check_path_validity(&sign_param.path).expect("check path error");
let path_parts = params.derivation_path.split('/').collect::<Vec<_>>();
let path_parts = sign_param.path.split('/').collect::<Vec<_>>();
if path_parts[2] != "1729'" {
return Err(anyhow!("invalid_sign_path"));
}
Expand Down

0 comments on commit 4609551

Please sign in to comment.