Fixup sign_transaction; pass derivation_path by reference (#8194)

* Fixup sign_transaction; pass derivation_path by reference

* Pass total message length as BE u16

* Remove live integration tests (to ledger-app-solana)
This commit is contained in:
Tyera Eulberg
2020-02-11 11:45:00 -07:00
committed by GitHub
parent 517fe73734
commit 25d1f841ee
5 changed files with 48 additions and 123 deletions

View File

@ -108,7 +108,7 @@ fn get_pubkey_from_matches(
derivation_path = derivation;
}
let ledger = get_ledger_from_info(remote_wallet_info)?;
Ok(ledger.get_pubkey(derivation_path)?)
Ok(ledger.get_pubkey(&derivation_path)?)
} else {
read_keypair_file(keypair).map(|keypair| keypair.pubkey())
}