Fix failing vec hashing test

This commit is contained in:
Paul Hauner
2019-04-11 17:21:57 +10:00
parent 0c0eebd774
commit 0bdd61e564
2 changed files with 13 additions and 15 deletions

View File

@@ -133,14 +133,13 @@ where
// The item existed in the previous list and exsits in the current list.
(Some(old), Some(new)) => {
new.cached_hash_tree_root(old, cache, *start_chunk)?;
},
}
// The item didn't exist in the old list and doesn't exist in the new list,
// nothing to do.
(None, None) => {},
_ => panic!("variable sized lists not implemented")
(None, None) => {}
_ => panic!("variable sized lists not implemented"),
};
}
// this thing
}
}