Remove unneeded Option

This commit is contained in:
Michael Vines
2019-01-31 12:44:09 -08:00
parent 8ba1d5f426
commit 9767468b7f
3 changed files with 9 additions and 10 deletions

View File

@@ -41,7 +41,7 @@ fn main() {
)
.get_matches();
let ledger_path = matches.value_of("ledger");
let ledger_path = matches.value_of("ledger").unwrap();
let (keypair, gossip) = if let Some(i) = matches.value_of("identity") {
let path = i.to_string();