Skip to content

Commit

Permalink
small test fix for Flex
Browse files Browse the repository at this point in the history
  • Loading branch information
tdejoigny-ledger committed May 27, 2024
1 parent 3a987ca commit 22bdd76
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ VARIANT_VALUES = bitcoin_testnet_legacy bitcoin_legacy bitcoin_cash bitcoin_gold

# simplify for tests
ifndef COIN
COIN=bitcoin_legacy
COIN=bitcoin_testnet_legacy
endif

# Enabling DEBUG flag will enable PRINTF and disable optimizations
Expand Down
3 changes: 2 additions & 1 deletion tests/test_get_pubkey.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,8 @@ def pubkey_instruction_warning_approve(model: Firmware) -> Instructions:
else:
instructions.new_request("Unusual", NavInsID.USE_CASE_CHOICE_CONFIRM,
NavInsID.USE_CASE_CHOICE_CONFIRM)
instructions.same_request("Confirm", NavInsID.USE_CASE_ADDRESS_CONFIRMATION_TAP,
instructions.same_request("Confirm", NavInsID.USE_CASE_ADDRESS_CONFIRMATION_TAP if model.name == "stax"
else NavInsID.SWIPE_CENTER_TO_LEFT,
NavInsID.USE_CASE_ADDRESS_CONFIRMATION_CONFIRM)
instructions.same_request("Address", NavInsID.USE_CASE_REVIEW_TAP,
NavInsID.USE_CASE_STATUS_DISMISS)
Expand Down

0 comments on commit 22bdd76

Please sign in to comment.