Skip to content

Commit

Permalink
Fix encryption
Browse files Browse the repository at this point in the history
  • Loading branch information
yukonet committed Sep 5, 2023
1 parent d18da82 commit bfe772b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
'PRICE_MULTIPLIER' : os.environ.get('PRICE_MULTIPLIER', '0.9'), #should be <1, used in payout in calc maxFeePerGas to avoid base price changing
'MAX_PRIORITY_FEE': os.environ.get('MAX_PRIORITY_FEE', '0.00000000000017'), #in ETH
'SLEEP_AFTER_SEEDING': os.environ.get('SLEEP_AFTER_SEEDING', 60), #in sec
'ACCOUNT_PASSWORD' : os.environ.get('ACCOUNT_PASSWORD', "shkeeper"), #Password for restoring account in metamask or others, should be str
'ACCOUNT_PASSWORD' : os.environ.get('ACCOUNT_PASSWORD', "shkeeper"), #Password for restoring account in metamask or others, should be str (DEPRECATED)
'REDIS_HOST': os.environ.get('REDIS_HOST', 'localhost'),
'ETHEREUM_HOST': os.environ.get('ETHEREUM_HOST', 'ethereum'),
'LAST_BLOCK_LOCKED': os.environ.get('LAST_BLOCK_LOCKED', 'TRUE'),
Expand Down
2 changes: 1 addition & 1 deletion app/token.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def drain_tocken_account(self, account, destination):
"value": self.provider.toHex(self.provider.toWei(need_to_send, "ether")),
"gas": self.provider.toHex(gas_coin_count),
"maxFeePerGas": self.provider.toHex(self.provider.toWei(max_fee_per_gas_coin, 'ether')),
"maxPriorityFeePerGas": self.provider.toHex(self.provider.toWei(fee, "ether"))}, config['ACCOUNT_PASSWORD'])
"maxPriorityFeePerGas": self.provider.toHex(self.provider.toWei(fee, "ether"))}, get_account_password())
logger.warning(f'send coins to token account: {str(txid.hex())}')
time.sleep(int(config['SLEEP_AFTER_SEEDING']))
# Send tokens to the fee account
Expand Down

0 comments on commit bfe772b

Please sign in to comment.