Improve validator-info CLI (#5121)

* Fix index OOB panic

* Handle 'get' empty validator-info responses properly

* Improve 'get' argument flow

* Improve arg help text

* Improve 'publish' argument flow

* Update book doc
This commit is contained in:
Tyera Eulberg
2019-07-16 09:22:55 -06:00
committed by GitHub
parent 7e60ee39d9
commit 5ab4975c44
3 changed files with 51 additions and 48 deletions

View File

@ -293,7 +293,6 @@ impl RpcClient {
format!("GetProgramAccounts parse failure: {:?}", err),
)
})?;
println!("{:?}", accounts);
let mut pubkey_accounts: Vec<(Pubkey, Account)> = Vec::new();
for (string, account) in accounts.into_iter() {