Skip to content

Commit

Permalink
feat(op-node): fix lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
redhdx committed Nov 16, 2023
1 parent 70b1392 commit 6809d70
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions op-node/rollup/derive/attributes.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,11 @@ import (
"container/list"
"context"
"fmt"
"math/big"

"github.com/ethereum/go-ethereum/common"
"github.com/ethereum/go-ethereum/common/hexutil"
"github.com/ethereum/go-ethereum/core/types"
"math/big"

"github.com/ethereum-optimism/optimism/op-bindings/predeploys"
"github.com/ethereum-optimism/optimism/op-node/eth"
Expand Down Expand Up @@ -62,7 +63,7 @@ func (ba *FetchingAttributesBuilder) PreparePayloadAttributes(ctx context.Contex
}

// If the L1 origin changed this block, then we are in the first block of the epoch. In this
// case we need to fetch all transaction receipts from the L1 origin block so we can scan for
// case we need to fetch all transaction receipts from the L1 origin block, so we can scan for
// user deposits.
if l2Parent.L1Origin.Number != epoch.Number {
info, receipts, err := ba.l1.FetchReceipts(ctx, epoch.Hash)
Expand Down

0 comments on commit 6809d70

Please sign in to comment.