Skip to content

Commit

Permalink
Collapse response struct
Browse files Browse the repository at this point in the history
  • Loading branch information
beautifulentropy committed Nov 19, 2024
1 parent aee0ba1 commit f314be2
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions va/va.go
Original file line number Diff line number Diff line change
Expand Up @@ -468,11 +468,7 @@ func (va *ValidationAuthorityImpl) performRemoteValidation(
for _, i := range rand.Perm(remoteVACount) {
go func(rva RemoteVA, out chan<- *response) {
res, err := rva.PerformValidation(ctx, req)
out <- &response{
addr: rva.Address,
result: res,
err: err,
}
out <- &response{rva.Address, res, err}
}(va.remoteVAs[i], responses)
}

Expand Down

0 comments on commit f314be2

Please sign in to comment.