Remove iter mod from beacon chain

Now the iter mod in store is the only implementation
This commit is contained in:
Paul Hauner
2019-06-19 02:06:23 +10:00
parent 952e08ba38
commit 55196dff64
5 changed files with 36 additions and 139 deletions

View File

@@ -496,7 +496,7 @@ where
let block = self.get_block(child)?;
let state = self.get_state(block.state_root)?;
Ok(BlockRootsIterator::new(
Ok(BlockRootsIterator::owned(
self.store.clone(),
state,
block.slot,