Skip to content

Commit

Permalink
chore: update the example code
Browse files Browse the repository at this point in the history
  • Loading branch information
kobakaku committed Aug 6, 2024
1 parent d09175d commit d1a47a1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,15 @@ func main() {
// ComputeExtendedDataSquare failed
}

rowRoots, err := eds.RowRoots()
if err != nil {
// RowRoots failed
}
colRoots, err := eds.ColRoots()
if err != nil {
// ColRoots failed
}

flattened := eds.Flattened()

// Delete some shares, just enough so that repairing is possible.
Expand Down

0 comments on commit d1a47a1

Please sign in to comment.