* chore: cargo +nightly clippy --fix -Z unstable-options (cherry picked from commit6514096a67
) # Conflicts: # core/src/banking_stage.rs # core/src/cost_model.rs # core/src/cost_tracker.rs # core/src/execute_cost_table.rs # core/src/replay_stage.rs # core/src/tvu.rs # ledger-tool/src/main.rs # programs/bpf_loader/build.rs # rbpf-cli/src/main.rs # sdk/cargo-build-bpf/src/main.rs # sdk/cargo-test-bpf/src/main.rs # sdk/src/secp256k1_instruction.rs * chore: cargo fmt (cherry picked from commit789f33e8db
) * Updates BPF program assert_instruction_count tests. (cherry picked from commitc1e03f3410
) # Conflicts: # programs/bpf/tests/programs.rs * Resolve conflicts Co-authored-by: Alexander Meißner <AlexanderMeissner@gmx.net> Co-authored-by: Michael Vines <mvines@gmail.com>
This commit is contained in:
@@ -114,10 +114,10 @@ impl RemoteWalletManager {
|
||||
is_valid_hid_device(device_info.usage_page(), device_info.interface_number())
|
||||
&& is_valid_ledger(device_info.vendor_id(), device_info.product_id())
|
||||
}) {
|
||||
match usb.open_path(&device_info.path()) {
|
||||
match usb.open_path(device_info.path()) {
|
||||
Ok(device) => {
|
||||
let mut ledger = LedgerWallet::new(device);
|
||||
let result = ledger.read_device(&device_info);
|
||||
let result = ledger.read_device(device_info);
|
||||
match result {
|
||||
Ok(info) => {
|
||||
ledger.pretty_path = info.get_pretty_path();
|
||||
|
Reference in New Issue
Block a user