Optimizing the code and making it more idiomatic (#2269)

This commit is contained in:
Elichai Turkel
2019-01-02 01:29:16 +02:00
committed by Ignotus Peverell
parent 23df6fa976
commit f2a29ce37a
17 changed files with 119 additions and 104 deletions
+2 -1
View File
@@ -111,7 +111,8 @@ where
verifier_cache,
false,
Arc::new(Mutex::new(StopState::new())),
).unwrap();
)
.unwrap();
let (tx, rx) = channel();
let retval = WalletProxy {
chain_dir: chain_dir.to_owned(),