CLI: Error message cleanup (#8804)

automerge
This commit is contained in:
Trent Nelson
2020-03-13 00:20:49 -06:00
committed by GitHub
parent 4bbf09f582
commit fbf2dd1672
31 changed files with 556 additions and 639 deletions

View File

@ -262,7 +262,7 @@ pub fn kill_entry_and_spend_and_verify_rest(
);
match sig {
Err(e) => {
result = Err(TransportError::IoError(e));
result = Err(e);
continue;
}

View File

@ -23,6 +23,7 @@ use solana_sdk::{
signature::{Keypair, Signer},
system_transaction,
transaction::Transaction,
transport::Result as TransportResult,
};
use solana_stake_program::{
config as stake_config, stake_instruction,
@ -607,7 +608,7 @@ impl LocalCluster {
storage_keypair: &Keypair,
from_keypair: &Arc<Keypair>,
archiver: bool,
) -> Result<()> {
) -> TransportResult<()> {
let storage_account_type = if archiver {
StorageAccountType::Archiver
} else {