Skip to content

Commit

Permalink
Update rsmt2d.go
Browse files Browse the repository at this point in the history
  • Loading branch information
VolodymyrBg authored Feb 11, 2025
1 parent 01e0005 commit 693c7da
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions share/eds/rsmt2d.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ type Rsmt2D struct {

// Size returns the size of the Extended Data Square.
func (eds *Rsmt2D) Size(context.Context) (int, error) {
if eds.ExtendedDataSquare == nil {
return 0, fmt.Errorf("extended data square is not initialized")
}
return int(eds.Width()), nil
}

Expand Down

0 comments on commit 693c7da

Please sign in to comment.