Clearer updates handling

This commit is contained in:
Tomasz Drwięga
2016-12-09 08:31:58 +00:00
parent 93230dd4c2
commit 8596134c0f
7 changed files with 63 additions and 26 deletions

View File

@@ -63,6 +63,10 @@ impl KeyDirectory for TransientDir {
self.dir.load()
}
fn update(&self, account: SafeAccount) -> Result<SafeAccount, Error> {
self.dir.update(account)
}
fn insert(&self, account: SafeAccount) -> Result<SafeAccount, Error> {
self.dir.insert(account)
}