Skip to content

Commit

Permalink
Add another prefix for denom
Browse files Browse the repository at this point in the history
  • Loading branch information
anilcse committed Dec 7, 2024
1 parent 3f57d91 commit f3df619
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added cosmoscope
Binary file not shown.
4 changes: 4 additions & 0 deletions internal/cosmos/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,10 @@ func resolveIBCDenom(denom string, ibcMap map[string]*config.IBCAsset) (string,
return strings.ToUpper(strings.TrimLeft(denom, "u")), 6
}

if strings.HasPrefix(denom, "a") {
return strings.ToUpper(strings.TrimLeft(denom, "a")), 18
}

return denom, 6
}

Expand Down

0 comments on commit f3df619

Please sign in to comment.