Skip to content

Commit

Permalink
fix test case
Browse files Browse the repository at this point in the history
  • Loading branch information
jackzhhuang committed Oct 23, 2024
1 parent 077f3ba commit a5facdd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions chain/src/chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ impl BlockChain {
.as_ref()
.clone()
.into_iter()
.skip(1)
.map(|block| self.storage.get_block_by_hash(block))
.collect::<Result<Vec<Option<Block>>>>()?
.into_iter()
Expand Down

0 comments on commit a5facdd

Please sign in to comment.