diff --git a/crates/sdk/src/signing.rs b/crates/sdk/src/signing.rs index 01b9f819e3f..ae4bbb10dd2 100644 --- a/crates/sdk/src/signing.rs +++ b/crates/sdk/src/signing.rs @@ -231,7 +231,11 @@ where for public_key in &signing_data.public_keys { if !used_pubkeys.contains(public_key) { - let secret_key = find_key_by_pk(&mut wallet, args, public_key)?; + let Ok(secret_key) = find_key_by_pk(&mut wallet, args, public_key) else { + // If the secret key is not found, continue because the + // hardware wallet may still be able to sign this + continue; + }; used_pubkeys.insert(public_key.clone()); signing_tx_keypairs.push(secret_key); }