From a06f4b1d44ed8b296e9e3c8649f5543e183a2f50 Mon Sep 17 00:00:00 2001 From: Tyera Eulberg Date: Fri, 14 Sep 2018 18:13:12 -0600 Subject: [PATCH] Update wallet to trigger keygen if no keypair provided and no keypair found in default location --- src/bin/wallet.rs | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/bin/wallet.rs b/src/bin/wallet.rs index 078ccc6154..1655c85701 100644 --- a/src/bin/wallet.rs +++ b/src/bin/wallet.rs @@ -13,6 +13,7 @@ use solana::thin_client::poll_gossip_for_leader; use solana::wallet::{parse_command, process_command, WalletConfig, WalletError}; use std::error; use std::net::SocketAddr; +use std::process::Command; pub fn parse_args(matches: &ArgMatches) -> Result> { let network = if let Some(addr) = matches.value_of("network") { @@ -35,6 +36,15 @@ pub fn parse_args(matches: &ArgMatches) -> Result