Skip to content

Commit

Permalink
fix: fix cargo check error
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaoguang1010 committed Aug 15, 2024
1 parent 915b04f commit 883382a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
16 changes: 8 additions & 8 deletions token-core/tcx-constants/src/coin_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -302,56 +302,56 @@ lazy_static! {
curve: CurveType::SECP256k1,
network: "MAINNET".to_string(),
seg_wit: "NONE".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/44'/1'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "TESTNET".to_string(),
seg_wit: "NONE".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/49'/3'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "MAINNET".to_string(),
seg_wit: "P2WPKH".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/49'/1'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "TESTNET".to_string(),
seg_wit: "P2WPKH".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/84'/3'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "MAINNET".to_string(),
seg_wit: "VERSION_0".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/84'/1'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "TESTNET".to_string(),
seg_wit: "VERSION_0".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/86'/3'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "MAINNET".to_string(),
seg_wit: "VERSION_1".to_string(),
},
hrp: "".to_string(),},
CoinInfo {
coin: "DOGECOIN".to_string(),
derivation_path: "m/86'/1'/0'/0/0".to_string(),
curve: CurveType::SECP256k1,
network: "TESTNET".to_string(),
seg_wit: "VERSION_1".to_string(),
},
hrp: "".to_string(),},
];

RwLock::new(coin_infos)
Expand Down
6 changes: 3 additions & 3 deletions token-core/tcx/tests/derive_test.rs
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ pub fn test_derive_accounts() {
seg_wit: "NONE".to_string(),
chain_id: "".to_string(),
curve: "secp256k1".to_string(),
bech32_prefix: "".to_string(),
hrp: "".to_string(),
},
Derivation {
chain_type: "DOGECOIN".to_string(),
Expand All @@ -210,7 +210,7 @@ pub fn test_derive_accounts() {
seg_wit: "NONE".to_string(),
chain_id: "".to_string(),
curve: "secp256k1".to_string(),
bech32_prefix: "".to_string(),
hrp: "".to_string(),
},
Derivation {
chain_type: "DOGECOIN".to_string(),
Expand All @@ -219,7 +219,7 @@ pub fn test_derive_accounts() {
seg_wit: "VERSION_1".to_string(),
chain_id: "".to_string(),
curve: "secp256k1".to_string(),
bech32_prefix: "".to_string(),
hrp: "".to_string(),
},
];

Expand Down

0 comments on commit 883382a

Please sign in to comment.