Skip to content

Commit

Permalink
Group invalid block error variants
Browse files Browse the repository at this point in the history
  • Loading branch information
dapplion committed Oct 20, 2024
1 parent 6eaa370 commit 8ca76cf
Show file tree
Hide file tree
Showing 8 changed files with 164 additions and 123 deletions.
2 changes: 1 addition & 1 deletion beacon_node/beacon_chain/src/beacon_chain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2704,7 +2704,7 @@ impl<T: BeaconChainTypes> BeaconChain<T> {
if let Err(e) = block.as_block().fork_name(&self.spec) {
return Err(ChainSegmentResult::Failed {
imported_blocks,
error: BlockError::InconsistentFork(e),
error: e.into(),
});
}

Expand Down
Loading

0 comments on commit 8ca76cf

Please sign in to comment.