Skip to content

Commit

Permalink
Fix account name
Browse files Browse the repository at this point in the history
  • Loading branch information
miohtama committed Feb 1, 2024
1 parent f449355 commit d57ad33
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eth_defi/hotwallet.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ class HotWallet:
# Move 1/2 of ETH from the first test account to ours
test_account_1 = web3.eth.accounts[0]
stash = web3.eth.get_balance(test_account_1)
tx_hash = web3.eth.send_transaction({"from": deployer, "to": account.address, "value": stash // 2})
tx_hash = web3.eth.send_transaction({"from": test_account_1, "to": account.address, "value": stash // 2})
assert_transaction_success_with_explanation(web3, tx_hash)
# Attach local private key to the web3.py middleware machinery
Expand Down

0 comments on commit d57ad33

Please sign in to comment.