Skip to content

Commit

Permalink
Fix derivation path
Browse files Browse the repository at this point in the history
  • Loading branch information
shahthepro committed Apr 9, 2024
1 parent a9ca8e9 commit 69fda84
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def run_test(contract, data, backend, firmware, navigator, test_name, wallet_add
# Extract function selector from the encoded data
get_selector_from_data(data))
# send the transaction
with client.sign("m/44'/60'/1'/0/0", {
with client.sign(DERIVATION_PATH, {
"nonce": 20,
"maxFeePerGas": Web3.to_wei(145, "gwei"),
"maxPriorityFeePerGas": Web3.to_wei(1.5, "gwei"),
Expand All @@ -77,7 +77,7 @@ def run_test(contract, data, backend, firmware, navigator, test_name, wallet_add
if firmware.device.startswith("nano"):
navigator.navigate_until_text_and_compare(NavInsID.RIGHT_CLICK,
[NavInsID.BOTH_CLICK],
"Accept",
"Accept and send",
ROOT_SCREENSHOT_PATH,
test_name)
else:
Expand Down

0 comments on commit 69fda84

Please sign in to comment.