Skip to content

Commit

Permalink
chore: fix typo (#4153)
Browse files Browse the repository at this point in the history
Hope this helps streamline the project!
Best regards,
Bilogweb3
  • Loading branch information
Bilogweb3 authored Dec 23, 2024
1 parent 055d2a1 commit 71dacba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/inclusion/get_commit.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ func GetCommitment(cacher *EDSSubTreeRootCacher, dah da.DataAvailabilityHeader,
for i, path := range paths {
// here we prepend false (walk left down the tree) because we only need
// the subtree roots from the original data square.
orignalSquarePath := append(append(make([]WalkInstruction, 0, len(path.instructions)+1), WalkLeft), path.instructions...)
subTreeRoot, err := cacher.getSubTreeRoot(dah, path.row, orignalSquarePath)
originalSquarePath := append(append(make([]WalkInstruction, 0, len(path.instructions)+1), WalkLeft), path.instructions...)
subTreeRoot, err := cacher.getSubTreeRoot(dah, path.row, originalSquarePath)
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 71dacba

Please sign in to comment.