Skip to content

Commit

Permalink
stop at nonce
Browse files Browse the repository at this point in the history
  • Loading branch information
ssd04 committed Dec 17, 2024
1 parent 54bce4b commit e95f924
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions process/block/shardblock.go
Original file line number Diff line number Diff line change
Expand Up @@ -975,6 +975,10 @@ func (sp *shardProcessor) CommitBlock(
return err
}

if headerHandler.GetNonce() >= 21677684 {
return fmt.Errorf("stop here")
}

err = sp.commitAll(headerHandler)
if err != nil {
return err
Expand Down

0 comments on commit e95f924

Please sign in to comment.