Merge pull request #3552 from ethcore/import-msg
Import account message
This commit is contained in:
commit
4c83eff912
@ -102,7 +102,7 @@ fn import(i: ImportAccounts) -> Result<String, String> {
|
|||||||
let from = DiskDirectory::at(path);
|
let from = DiskDirectory::at(path);
|
||||||
imported += try!(import_accounts(&from, &to).map_err(|_| "Importing accounts failed.")).len();
|
imported += try!(import_accounts(&from, &to).map_err(|_| "Importing accounts failed.")).len();
|
||||||
}
|
}
|
||||||
Ok(format!("{}", imported))
|
Ok(format!("{} account(s) imported", imported))
|
||||||
}
|
}
|
||||||
|
|
||||||
fn import_geth(i: ImportFromGethAccounts) -> Result<String, String> {
|
fn import_geth(i: ImportFromGethAccounts) -> Result<String, String> {
|
||||||
|
Loading…
Reference in New Issue
Block a user