From b94a414c3fdd9dad617c5ba893f3f9b979792f78 Mon Sep 17 00:00:00 2001 From: sanaz Date: Mon, 13 May 2024 11:56:15 -0700 Subject: [PATCH] moves godoc next to the error definition --- proof.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proof.go b/proof.go index d991793b..998b9a8c 100644 --- a/proof.go +++ b/proof.go @@ -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") )