Skip to content

Commit

Permalink
refactor: extend Q3 from Q1
Browse files Browse the repository at this point in the history
  • Loading branch information
rootulp committed Mar 10, 2023
1 parent e54dcd1 commit 8a46d48
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions extendeddatasquare.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,22 +129,22 @@ func (eds *ExtendedDataSquare) erasureExtendSquare(codec Codec) error {
return err
}

// Extend extended square horizontally
// Extend extended square vertically
// ------- -------
// | | |
// | O | E |
// | | |
// | | |
// ------- -------
// | | |
// | E | E |
// | E | E |
// | | |
// ------- -------
for i := eds.originalDataWidth; i < eds.width; i++ {
i := i

// Extend horizontally
// Extend vertically
errs.Go(func() error {
return eds.erasureExtendRow(codec, i)
return eds.erasureExtendCol(codec, i)
})
}

Expand Down

0 comments on commit 8a46d48

Please sign in to comment.