Skip to content

Commit

Permalink
set bribe price to 0
Browse files Browse the repository at this point in the history
  • Loading branch information
t0rbik committed Nov 1, 2023
1 parent 936d86c commit 401ea01
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/assets/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,6 +269,12 @@ def find(cls, address):

def _update_price(self):
"""Updates the token price in USD from different sources."""
# TEMP
if self.address.lower() == "0xa97792ea3ef60d115120ac7f5fc7bd4d8ad34715".lower():
self.price = 0
self.save()
# TEMP

underlying_token = self.check_if_token_is_option(self.address)
if underlying_token:
token = Token.find(underlying_token)
Expand Down

0 comments on commit 401ea01

Please sign in to comment.