Skip to content

Commit

Permalink
Merge pull request #3423 from yabirgb/issue-3407
Browse files Browse the repository at this point in the history
Avoid double counting xsushi
  • Loading branch information
LefterisJP committed Sep 7, 2021
2 parents 2fb0b09 + 7c1239a commit 96144d9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions rotkehlchen/chain/ethereum/tokens.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ def query_tokens_for_addresses(
# to approach it as there is no way to assign a price to 1 veCRV. It
# can be 1 CRV locked for 4 years or 4 CRV locked for 1 year etc.
string_to_ethereum_address('0x5f3b5DfEb7B28CDbD7FAba78963EE202a494e2A2'),
# Ignore for now xsushi since is queried by defi SDK. We'll do it for now
# since the SDK entry might return other tokens from sushi and we don't
# fully support sushi now.
string_to_ethereum_address('0x8798249c2E607446EfB7Ad49eC89dD1865Ff4272'),
]
for asset in ignored_assets: # don't query for the ignored tokens
if asset.is_eth_token(): # type ignore since we know asset is a token
Expand Down

0 comments on commit 96144d9

Please sign in to comment.