Skip to content

Commit

Permalink
Fix nanos app elf file name
Browse files Browse the repository at this point in the history
  • Loading branch information
elizabethengelman committed May 9, 2024
1 parent 5cdb669 commit 7f2487a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/crates/stellar-ledger/src/speculos.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@ impl ImageArgs for Args {
let device_model = self.ledger_device_model.clone();
let container_elf_path = match device_model.as_str() {
"nanos" => format!("{DEFAULT_APP_PATH}/stellarNanoSApp.elf"),
"nanox" => format!("{DEFAULT_APP_PATH}/stellarNanoXApp.elf"),
"nanosp" => format!("{DEFAULT_APP_PATH}/stellarNanoSPApp.elf"),
"nanox" => format!("{DEFAULT_APP_PATH}/stellarNanoXApp.elf"),
_ => panic!("Unsupported device model"),
};
let command_string = format!("/home/zondax/speculos/speculos.py --log-level speculos:DEBUG --color JADE_GREEN --display headless -s \"other base behind follow wet put glad muscle unlock sell income october\" -m {device_model} {container_elf_path}");
Expand Down

0 comments on commit 7f2487a

Please sign in to comment.