Skip to content

Commit

Permalink
pethoin
Browse files Browse the repository at this point in the history
  • Loading branch information
dzmitry-lahoda committed Apr 18, 2024
1 parent 36160d6 commit 6ce324d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mantis/blackbox/cvm_indexer.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from blackbox.composablefi_networks import Model as NetworksModel
from blackbox.cvm_runtime.response_to_get_config import (
AssetItem,
AssetReference7,
AssetReference21 as CosmosNativeAssetReference,
ExchangeItem,
NetworkAssetItem,
NetworkItem,
Expand Down Expand Up @@ -134,7 +134,7 @@ def indexer_1_gas_to_cvm(indexer):

def find_asset_by_token(token: str) -> Optional[AssetItem]:
for asset in assets:
local: AssetReference7 = asset.local.root
local: CosmosNativeAssetReference = asset.local.root
if local.native.denom == token:
return asset
return None
Expand Down

0 comments on commit 6ce324d

Please sign in to comment.