mirror of https://github.com/vacp2p/pmtree.git
fix: tests
This commit is contained in:
parent
4521c44065
commit
d0651d4a1a
|
@ -37,6 +37,10 @@ impl Database for MemoryDB {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn close(&mut self) -> PmtreeResult<()> {
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl Hasher for MyKeccak {
|
||||
|
|
|
@ -62,6 +62,12 @@ impl Database for MySled {
|
|||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
fn close(&mut self) -> PmtreeResult<()> {
|
||||
self.0.flush().unwrap();
|
||||
|
||||
Ok(())
|
||||
}
|
||||
}
|
||||
|
||||
impl Hasher for MyKeccak {
|
||||
|
|
Loading…
Reference in New Issue