From 62ec215323bb32cc44bcb9d1ecd1606c7e12a906 Mon Sep 17 00:00:00 2001 From: CHAMI Rachid Date: Tue, 8 Oct 2024 08:40:30 +0200 Subject: [PATCH] chore: fix ci linter failing (#276) fixes CI linter --- proof.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/proof.go b/proof.go index 70d81ab1..57b38b9f 100644 --- a/proof.go +++ b/proof.go @@ -520,7 +520,7 @@ func (proof Proof) VerifySubtreeRootInclusion(nth *NmtHasher, subtreeRoots [][]b } if len(ranges) == 0 { - return nil, fmt.Errorf(fmt.Sprintf("expected to have a subtree root for range [%d, %d)", start, end)) + return nil, fmt.Errorf("expected to have a subtree root for range [%d, %d)", start, end) } if ranges[0].Start == start && ranges[0].End == end {