Skip to content

Commit

Permalink
- stop filtering liquidity tokens separately for now, as it was tempo…
Browse files Browse the repository at this point in the history
…rarily removed from UI
  • Loading branch information
simonmcl committed Feb 22, 2024
1 parent 4d52997 commit 34b2d18
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Sources/KukaiCoreSwift/Clients/TzKTClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -838,6 +838,8 @@ public class TzKTClient {

for balance in balances {

// TODO: temporarily remove, as we currently are not supporting differentiating Liquidity tokens. Will be re added later
/*
// Check if balance is a liquidityToken and ignore it
// Liquidity baking is a standalone contract address. Hardcoding address for now, revisit how to query if it ever migrates to another token
if balance.token.contract.address == "KT1AafHA1C1vk959wvHWBispY9Y2f3fxBUUo" {
Expand All @@ -848,7 +850,7 @@ public class TzKTClient {
if liquidityTokens.contains(where: { $0.exchange.address == balance.token.contract.address }) {
continue
}

*/

// If its an NFT, hold onto for later
if balance.isNFT() && balance.token.malformedMetadata == false {
Expand Down

0 comments on commit 34b2d18

Please sign in to comment.