Skip to content

Commit

Permalink
feat: add stride address test
Browse files Browse the repository at this point in the history
  • Loading branch information
XuNeal committed Jul 31, 2024
1 parent 70c1e84 commit f3387cb
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions token-core/tcx-atom/src/address.rs
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,11 @@ mod tests {
"m/44'/118'/0'/0/0",
"neutron1m566v5rcklnac8vc0dftfu4lnvznhlu7fwqh4j",
),
(
"stride",
"m/44'/118'/0'/0/0",
"stride1m566v5rcklnac8vc0dftfu4lnvznhlu7w6ffme",
),
];
for (hrp, path, expected_addr) in testcase {
let coin_info = CoinInfo {
Expand Down

0 comments on commit f3387cb

Please sign in to comment.