Skip to content

Commit

Permalink
Return errs.Wait() directly
Browse files Browse the repository at this point in the history
  • Loading branch information
musalbas committed Sep 15, 2022
1 parent 5bf8791 commit 246091c
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions extendeddatasquare.go
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,7 @@ func (eds *ExtendedDataSquare) erasureExtendSquare(codec Codec) error {
})
}

if err := errs.Wait(); err != nil {
return err
}

return nil
return errs.Wait()
}

func (eds *ExtendedDataSquare) erasureExtendRow(codec Codec, i uint) error {
Expand Down

0 comments on commit 246091c

Please sign in to comment.