Skip to content

Commit

Permalink
Update tree.go
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet authored Jan 17, 2024
1 parent e0e5470 commit 33e9ad9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ type Stem []byte

func KeyToStem(key []byte) Stem {
if len(key) < StemSize {
panic(fmt.Errorf("key length (%d) is shorter than expected stem size (%d)", len(key), StemSize))
panic(fmt.Errorf("key length (%d) is shorter than the expected stem size (%d)", len(key), StemSize))
}
return Stem(key[:StemSize])
}
Expand Down

0 comments on commit 33e9ad9

Please sign in to comment.