Remove num_items from BTreeOverlay

This commit is contained in:
Paul Hauner
2019-04-26 11:34:07 +10:00
parent 15f81c0907
commit 794b48078c
6 changed files with 27 additions and 67 deletions

View File

@@ -34,7 +34,7 @@ impl TreeHashCache {
where
T: CachedTreeHash<T>,
{
let overlay = BTreeOverlay::new(item, 0, depth)?;
let overlay = BTreeOverlay::new(item, 0, depth);
// Note how many leaves were provided. If is not a power-of-two, we'll need to pad it out
// later.