Skip to content

Commit

Permalink
chore: remove filtering assets
Browse files Browse the repository at this point in the history
  • Loading branch information
devdanco committed Apr 11, 2024
1 parent 67e3cb2 commit be8739d
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/sdk/src/methods/query/getAssetsInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ export const getAssetsInfo = async (
// then we need to display symbol for liquidity token
return Object.values(completeAssetsInfo)
.filter((asset) => asset.name || asset.symbol)
.filter((assetsInfo) => !["1", "3"].includes(assetsInfo.id))
.reduce((obj, item) => {
const asset = {
...item,
Expand Down
1 change: 0 additions & 1 deletion packages/sdk/src/utils/getAssetsInfoWithIds.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ export const getAssetsInfoWithIds = async (api: ApiPromise) => {
// then we need to display symbol for liquidity token
return Object.values(completeAssetsInfo)
.filter((asset) => asset.name || asset.symbol)
.filter((assetsInfo) => !["1", "3"].includes(assetsInfo.id))
.reduce((obj, item) => {
const asset = {
...item,
Expand Down

0 comments on commit be8739d

Please sign in to comment.