Skip to content

Commit a918ff4

Browse files
Adam BaloghAdam Balogh
authored andcommitted
meta
1 parent da5d487 commit a918ff4

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tokens/metadata.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,11 @@ def _store_metadata(self, metadata: TokenMetadata) -> None:
8888
"address": metadata.address,
8989
"name": metadata.name,
9090
"symbol": metadata.symbol,
91-
"price": metadata.price,
9291
"not_found": False,
9392
}
9493

94+
if metadata.price:
95+
item["price"] = metadata.price
9596
if metadata.image_url:
9697
item["image_url"] = metadata.image_url
9798

0 commit comments

Comments
 (0)