Skip to content

Commit

Permalink
cherry pick the latest WS improvements into develop (0xPolygonHermez#…
Browse files Browse the repository at this point in the history
  • Loading branch information
tclemos authored Dec 1, 2023
1 parent be543b2 commit e145e31
Show file tree
Hide file tree
Showing 16 changed files with 687 additions and 293 deletions.
2 changes: 1 addition & 1 deletion jsonrpc/endpoints_debug.go
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ func (d *DebugEndpoints) TraceBatchByNumber(httpRequest *http.Request, number ty

requests := make(chan (ethTypes.Receipt), bufferSize)

mu := sync.Mutex{}
mu := &sync.Mutex{}
wg := sync.WaitGroup{}
wg.Add(len(receipts))
responses := make([]traceResponse, 0, len(receipts))
Expand Down
Loading

0 comments on commit e145e31

Please sign in to comment.