Skip to content

Commit

Permalink
moves godoc next to the error definition
Browse files Browse the repository at this point in the history
  • Loading branch information
staheri14 committed May 13, 2024
1 parent 40ccd61 commit b94a414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion proof.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import (
pb "github.com/celestiaorg/nmt/pb"
)

// ErrFailedCompletenessCheck indicates that the verification of a namespace proof failed due to the lack of completeness property.
var (
// ErrFailedCompletenessCheck indicates that the verification of a namespace proof failed due to the lack of completeness property.
ErrFailedCompletenessCheck = errors.New("failed completeness check")
ErrWrongLeafHashesSize = errors.New("wrong leafHashes size")
)
Expand Down

0 comments on commit b94a414

Please sign in to comment.