Skip to content

Commit

Permalink
fix: assets denoms
Browse files Browse the repository at this point in the history
  • Loading branch information
akhlopiachyi committed May 29, 2024
1 parent 4c40a06 commit 4cdc7e7
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/web-coreum/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "web-coreum",
"version": "2.19.3-111",
"version": "2.19.3-112",
"license": "Apache-2.0",
"private": true,
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/screens/asset_details/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ const formatAsset = ({
holders = String(assetInHolders?.holders) ?? '0';
}

if (asset.extra.xrpl_info) {
if (asset.extra.xrpl_info && asset.extra.xrpl_info.source_chain === 'XRPL') {
chain = 'XRP Ledger';
tokenType = 'bridged';
display =
Expand Down
2 changes: 1 addition & 1 deletion packages/ui/src/screens/assets/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const formatAssets = ({
chain = item.extra.ibc_info!.source_chain;
}

if (item.extra.xrpl_info) {
if (item.extra.xrpl_info && item.extra.xrpl_info.source_chain === 'XRPL') {
chain = 'XRP Ledger';
tokenType = 'bridged';
display =
Expand Down

0 comments on commit 4cdc7e7

Please sign in to comment.