Skip to content

Commit 617f69f

Browse files
Aharoneewinder
andauthored
Update crypto/merklearray/merkle.go
Co-authored-by: Will Winder <wwinder.unh@gmail.com>
1 parent 01fdce0 commit 617f69f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crypto/merklearray/merkle.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ const (
3333

3434
// MaxNumLeavesOnEncodedTree is the maximum number of leaves allowed for a tree which
3535
// is being encoded (either by msbpack or by the fixed length encoding)
36-
MaxNumLeavesOnEncodedTree = 65536 // 2^MaxEncodedTreeDepth
36+
MaxNumLeavesOnEncodedTree = 1 << MaxEncodedTreeDepth
3737
)
3838

3939
// Merkle tree errors

0 commit comments

Comments
 (0)