Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Nov 17, 2024
1 parent 51d42ec commit dd04f6c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions core/rawdb/taiko_l1_origin.go
Original file line number Diff line number Diff line change
Expand Up @@ -54,10 +54,7 @@ type l1OriginMarshaling struct {

// IsSoftBlock returns true if the L1Origin is a softblock.
func (l *L1Origin) IsSoftBlock() bool {
if l.BatchID != nil {
return true
}
return false
return l.BatchID != nil
}

// WriteL1Origin stores a L1Origin into the database.
Expand Down

0 comments on commit dd04f6c

Please sign in to comment.