Skip to content

Commit

Permalink
Merge branch 'master' into pvl/attr-fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Jouzo authored Aug 21, 2023
2 parents 5de3b52 + 407ddf2 commit 3bc8b2c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/ain-evm/src/block.rs
Original file line number Diff line number Diff line change
Expand Up @@ -265,7 +265,8 @@ impl BlockService {
let block = self
.storage
.get_latest_block()?
.expect("Unable to find latest block");
.ok_or(format_err!("Unable to find latest block"))?;

blocks.push(block.clone());
let mut parent_hash = block.header.parent_hash;

Expand Down

0 comments on commit 3bc8b2c

Please sign in to comment.