Skip to content

Commit

Permalink
chore: modify dogecoin instance id
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoguang1010 committed Oct 23, 2024
1 parent 05fe333 commit 4ea9750
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions imkey-core/ikc-common/src/applet.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ mod tests {
assert_eq!(get_appname_by_instid("695F626368").unwrap(), "Bitcoin Cash");
assert_eq!(get_appname_by_instid("695F6C7463").unwrap(), "Litecoin");
assert_eq!(get_appname_by_instid("695F696D6B").unwrap(), "IMK");
assert_eq!(get_appname_by_instid("695F646F6765636F696E").unwrap(), "Dogecoin");
assert!(get_appname_by_instid("1111111111").is_none());
}

Expand All @@ -74,6 +75,7 @@ mod tests {
);
assert_eq!(get_instid_by_appname("Bitcoin Cash").unwrap(), "695F626368");
assert_eq!(get_instid_by_appname("Litecoin").unwrap(), "695F6C7463");
assert_eq!(get_instid_by_appname("Dogecoin").unwrap(), "695F646F6765636F696E");
assert!(get_instid_by_appname("APPLET").is_none());
}
}
2 changes: 1 addition & 1 deletion imkey-core/ikc-common/src/constants.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ pub const NERVOS_AID: &str = "695F6B315F636B62";
pub const TEZOS_AID: &str = "695F65645F78747A";
pub const BCH_AID: &str = "695F626368";
pub const LTC_AID: &str = "695F6C7463";
pub const DOGECOIN_AID: &str = "695F6D7463";
pub const DOGECOIN_AID: &str = "695F646F6765636F696E";

pub const BL_AID: &str = "D0426F6F746C6F61646572";

Expand Down

0 comments on commit 4ea9750

Please sign in to comment.