diff --git a/ethstore/tests/util/transient_dir.rs b/ethstore/tests/util/transient_dir.rs index f4998e1241d..23523e48c88 100644 --- a/ethstore/tests/util/transient_dir.rs +++ b/ethstore/tests/util/transient_dir.rs @@ -64,7 +64,7 @@ impl KeyDirectory for TransientDir { self.dir.load() } - fn insert(&self, account: SafeAccount) -> Result<(), Error> { + fn insert(&self, account: SafeAccount) -> Result { self.dir.insert(account) }