Skip to content

Commit

Permalink
Remove dbcreation_mode
Browse files Browse the repository at this point in the history
  • Loading branch information
vasiliy-zaznobin committed Feb 25, 2022
1 parent 3881bac commit e5f8f64
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions proxy/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,8 @@

airdropper_mode = os.environ.get('AIRDROPPER_MODE', 'False').lower() in [1, 'true', 'True']
indexer_mode = os.environ.get('INDEXER_MODE', 'False').lower() in [1, 'true', 'True']
dbcreation_mode = os.environ.get('DBCREATION_MODE', 'False').lower() in [1, 'true', 'True']

if dbcreation_mode:
print("Will run in db creation mode")
run_dbcreation()
elif airdropper_mode:
if airdropper_mode:
print("Will run in airdropper mode")
pyth_mapping_account = PublicKey(os.environ['PYTH_MAPPING_ACCOUNT'])
faucet_url = os.environ['FAUCET_URL']
Expand Down

0 comments on commit e5f8f64

Please sign in to comment.