Skip to content

Commit

Permalink
fix: readme
Browse files Browse the repository at this point in the history
  • Loading branch information
rymnc committed Aug 8, 2023
1 parent 31ab316 commit 4c815bf
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,10 @@ impl Database for MemoryDB {

Ok(())
}

fn close(&mut self) -> PmtreeResult<()> {
Ok(())
}
}

impl Hasher for MyKeccak {
Expand Down Expand Up @@ -90,5 +94,7 @@ fn main() {
"c1ba1812ff680ce84c1d5b4f1087eeb08147a4d510f3496b2849df3a73f5af95"
))
.unwrap();
// closes the connection to the database
mt.close().unwrap();
}
```

0 comments on commit 4c815bf

Please sign in to comment.