diff --git a/imkey-core/ikc-common/src/applet.rs b/imkey-core/ikc-common/src/applet.rs index 9eed9d02..74a2ff30 100644 --- a/imkey-core/ikc-common/src/applet.rs +++ b/imkey-core/ikc-common/src/applet.rs @@ -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()); } @@ -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()); } } diff --git a/imkey-core/ikc-common/src/constants.rs b/imkey-core/ikc-common/src/constants.rs index 0bc04772..a431563e 100644 --- a/imkey-core/ikc-common/src/constants.rs +++ b/imkey-core/ikc-common/src/constants.rs @@ -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";