Skip to content

Commit

Permalink
Merge pull request #99 from wizardsardine/new-jade-device-ids
Browse files Browse the repository at this point in the history
Add new jade device ids
  • Loading branch information
edouardparis authored Jan 3, 2025
2 parents d597365 + 7576abe commit e63fad4
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ keywords = ["bitcoin"]

[package]
name = "async-hwi"
version = "0.0.24"
version = "0.0.25"
readme = "README.md"
description = "Async hardware wallet interface"
license-file.workspace = true
Expand Down
2 changes: 1 addition & 1 deletion cli/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,5 @@ path = "src/bin/hwi.rs"
clap = { version = "4.4.7", features = ["derive"] }
bitcoin = "0.31"
hex = "0.4"
async-hwi = { path = "../", version = "0.0.24" }
async-hwi = { path = "../", version = "0.0.25" }
tokio = { version = "1", features = ["macros", "net", "rt", "rt-multi-thread", "io-util", "sync"] }
4 changes: 3 additions & 1 deletion src/jade/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -411,11 +411,13 @@ pub struct SerialTransport {
pub stream: Arc<Mutex<SerialStream>>,
}

pub const JADE_DEVICE_IDS: [(u16, u16); 4] = [
pub const JADE_DEVICE_IDS: [(u16, u16); 6] = [
(0x10c4, 0xea60),
(0x1a86, 0x55d4),
(0x0403, 0x6001),
(0x1a86, 0x7523),
(0x303a, 0x4001),
(0x303a, 0x1001),
];

impl SerialTransport {
Expand Down

0 comments on commit e63fad4

Please sign in to comment.