From abc5db0f80b84e8c20d4649ce475f6b601a00c42 Mon Sep 17 00:00:00 2001 From: svyatonik Date: Tue, 4 Oct 2016 16:01:39 +0300 Subject: [PATCH] Remove redundant Box-ing. --- parity/account.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parity/account.rs b/parity/account.rs index 72a932315..6a05e945d 100644 --- a/parity/account.rs +++ b/parity/account.rs @@ -100,7 +100,7 @@ fn import_geth(i: ImportFromGethAccounts) -> Result { use ethcore::ethstore::Error; let dir = Box::new(try!(keys_dir(i.to))); - let secret_store = Box::new(EthStore::open(dir).unwrap()); + let secret_store = EthStore::open(dir).unwrap(); let geth_accounts = read_geth_accounts(i.testnet); match secret_store.import_geth_accounts(geth_accounts, i.testnet) { Ok(v) => Ok(format!("Successfully imported {} account(s) from geth.", v.len())),