Conversation
It looks like @svyatonik hasn'signed our Contributor License Agreement, yet.
You can read and sign our full Contributor License Agreement at the following URL: https://cla.ethcore.io Once you've signed, plesae reply to this thread with Many thanks, Ethcore CLA Bot |
[clabot:check] |
It looks like @svyatonik signed our Contributor License Agreement. 👍 Many thanks, Ethcore CLA Bot |
Changes Unknown when pulling abc5db0 on svyatonik:master into * on ethcore:master*. |
use ethcore::ethstore::Error; | ||
|
||
let dir = Box::new(try!(keys_dir(i.to))); | ||
let secret_store = EthStore::open(dir).unwrap(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe try!(EthStore::open(dir).map_err(|e| format!("Error opening key store: {}", e)))
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Copy-pasted this line from other functions above (new, list) :) Just tried to mimic the code-style from previous contributors. Ok - will fix this for these functions too
pub struct ImportFromGethAccounts { | ||
pub testnet: bool, | ||
pub to: String, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
documentation on this struct and fields would be a bonus :)
Changes Unknown when pulling abc5db0 on svyatonik:master into * on ethcore:master*. |
Changes Unknown when pulling 0e8dda7 on svyatonik:master into * on ethcore:master*. |
LGTM, but haven't tested it yet. |
just types |
This PR is not about --account import - it's about --import-geth-keys |
tested import, great job |
closes ethcore/parity#1918