Key files include timestamp in name. (#1700)
* Key files include timestamp in name. Introduce timestamp into new key files; keep filename around, so that we don't accidentally duplicate keys. * Remove unnecessary clone * Fix test code. * Remove log module from ethstore
This commit is contained in:
@@ -114,8 +114,8 @@ impl KeyDirectory for NullDir {
|
||||
Ok(vec![])
|
||||
}
|
||||
|
||||
fn insert(&self, _account: SafeAccount) -> Result<(), SSError> {
|
||||
Ok(())
|
||||
fn insert(&self, account: SafeAccount) -> Result<SafeAccount, SSError> {
|
||||
Ok(account)
|
||||
}
|
||||
|
||||
fn remove(&self, _address: &SSAddress) -> Result<(), SSError> {
|
||||
|
||||
Reference in New Issue
Block a user