Skip to content

Commit

Permalink
chore: fix ci linter failing (#276)
Browse files Browse the repository at this point in the history
fixes CI linter
  • Loading branch information
rach-id authored Oct 8, 2024
1 parent c1a9cfc commit 62ec215
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 @@ -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 {
Expand Down

0 comments on commit 62ec215

Please sign in to comment.