Make commands case insensitive

This commit is contained in:
Aditya Kulkarni
2019-10-25 17:36:54 -07:00
parent 865a72442d
commit 2cbdab37fa
2 changed files with 31 additions and 2 deletions

View File

@@ -244,7 +244,7 @@ impl LightClient {
/// Method to create a test-only version of the LightClient
#[allow(dead_code)]
fn unconnected(seed_phrase: String, dir: Option<String>) -> io::Result<Self> {
pub fn unconnected(seed_phrase: String, dir: Option<String>) -> io::Result<Self> {
let config = LightClientConfig::create_unconnected("test".to_string(), dir);
let mut l = LightClient {
wallet : Arc::new(RwLock::new(LightWallet::new(Some(seed_phrase), &config, 0)?)),