Skip to content

Commit

Permalink
keep test datastream client in a downloading state
Browse files Browse the repository at this point in the history
without this we keep looping adding in more and more blocks and with fork12 changes we get into a mess
  • Loading branch information
hexoscott committed Oct 23, 2024
1 parent 65df90a commit eea57f9
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion zk/stages/test_utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ func (c *TestDatastreamClient) EnsureConnected() (bool, error) {

func (c *TestDatastreamClient) ReadAllEntriesToChannel() error {
c.streamingAtomic.Store(true)
defer c.streamingAtomic.Swap(false)

for i := range c.fullL2Blocks {
c.entriesChan <- &c.fullL2Blocks[i]
Expand Down

0 comments on commit eea57f9

Please sign in to comment.