EYBlockchain / timber

Construct a Merkle Tree database from Ethereum logs.
Other
67 stars 19 forks source link

fix: group count and max leaf into one call to fix cast error #151

Closed jfsanchocr closed 7 months ago

jfsanchocr commented 7 months ago

Add a default value to the assignation of minMissingLeafIndex in case missingLeaves array is empty.

Group the 2 calls made in checkLeaves method to get the count and max of leaves in one call instead of two.