Ledger: return specific error if ledger-app-solana is not running (#8684)

* Specific error if ledger-app-solana is not running

* Return helpful error

* Include signer name in multiple-device prompt
This commit is contained in:
Tyera Eulberg
2020-03-06 16:03:23 -07:00
committed by GitHub
parent 39b3ce9bd3
commit ca8bf8f964
4 changed files with 55 additions and 17 deletions

View File

@ -87,6 +87,7 @@ pub fn signer_from_path(
derivation_of(matches, "derivation_path"),
wallet_manager,
matches.is_present("confirm_key"),
keypair_name,
)?))
} else {
Err(RemoteWalletError::NoDeviceFound.into())