Move src/wallet.rs into wallet/ crate

This commit is contained in:
Michael Vines
2018-12-14 10:46:58 -08:00
parent a22e1199cf
commit d45fcc4381
5 changed files with 16 additions and 22 deletions

View File

@@ -3,10 +3,14 @@ extern crate clap;
use dirs;
#[macro_use]
extern crate solana;
#[macro_use]
extern crate serde_json;
mod wallet;
use crate::wallet::{parse_command, process_command, WalletConfig, WalletError};
use clap::{App, Arg, ArgMatches, SubCommand};
use solana::logger;
use solana::wallet::{parse_command, process_command, WalletConfig, WalletError};
use solana_sdk::signature::{gen_keypair_file, read_keypair, KeypairUtil};
use std::error;
use std::net::SocketAddr;