Skip to content

Commit

Permalink
fix: done chan stuck when close
Browse files Browse the repository at this point in the history
  • Loading branch information
welkin22 committed Sep 6, 2024
1 parent 1a3fb74 commit 45a8358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion op-service/sources/l1_client.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func NewL1Client(client client.RPC, log log.Logger, metrics caching.Metrics, con
preFetchReceiptsOnce: sync.Once{},
preFetchReceiptsStartBlockChan: make(chan uint64, 1),
maxConcurrentRequests: config.MaxConcurrentRequests,
done: make(chan struct{}),
done: make(chan struct{}, 1),
}, nil
}

Expand Down

0 comments on commit 45a8358

Please sign in to comment.