Skip to content

Commit

Permalink
fix one test
Browse files Browse the repository at this point in the history
  • Loading branch information
gballet committed Jun 16, 2023
1 parent 0d39689 commit f606416
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 @@ -255,7 +255,7 @@ func NewLeafNode(stem []byte, values [][]byte) *LeafNode {
// depth will be 0, but the commitment calculation
// does not need it, and so it won't be free.
values: values,
stem: stem,
stem: stem[:StemSize],
commitment: nil,
c1: nil,
c2: nil,
Expand Down

0 comments on commit f606416

Please sign in to comment.