Skip to content

Commit

Permalink
Merge branch 'main' into Solana
Browse files Browse the repository at this point in the history
  • Loading branch information
SecretSaturn authored Jul 11, 2024
2 parents 15054b8 + d3cf6a6 commit 2229a34
Show file tree
Hide file tree
Showing 2 changed files with 51 additions and 17 deletions.
2 changes: 1 addition & 1 deletion TNLS-Relayers/eth_interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def __init__(self, private_key="", provider=None, contract_address="", chain_id=

self.private_key = private_key
self.provider = provider
self.address = auto.w3.eth.account.privateKeyToAccount(private_key).address
self.address = auto.w3.eth.account.from_key(private_key).address
self.contract_address = contract_address
self.chain_id = chain_id
self.nonce = self.provider.eth.get_transaction_count(self.address, 'pending')
Expand Down
Loading

0 comments on commit 2229a34

Please sign in to comment.