Merge pull request #3552 from ethcore/import-msg

Import account message
This commit is contained in:
Gav Wood
2016-11-22 00:03:36 +01:00
committed by GitHub

View File

@@ -102,7 +102,7 @@ fn import(i: ImportAccounts) -> Result<String, String> {
let from = DiskDirectory::at(path);
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> {