Skip to content

Commit

Permalink
Update crypto/merklearray/merkle.go
Browse files Browse the repository at this point in the history
Co-authored-by: Will Winder <[email protected]>
  • Loading branch information
Aharonee and winder authored Feb 10, 2022
1 parent 01fdce0 commit 617f69f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crypto/merklearray/merkle.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (

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

// Merkle tree errors
Expand Down

0 comments on commit 617f69f

Please sign in to comment.