Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
skip to verify the dag block for uncles
  • Loading branch information
jackzhhuang committed Mar 19, 2024
1 parent aa62d0c commit 9b3c74e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions chain/src/verifier/mod.rs
Expand Up @@ -95,6 +95,9 @@ pub trait BlockVerifier {
where
R: ChainReader,
{
if header.is_dag() {
return Ok(());
}
let epoch = current_chain.epoch();
let is_legacy = header.is_legacy();

Expand Down

0 comments on commit 9b3c74e

Please sign in to comment.