You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
computeLeafHashesIfNecessary should be done after the range check. This calculation could be time/resource consuming but unnecessarily called if the range is invalid.
The text was updated successfully, but these errors were encountered:
Thanks for opening the issue, your point is right about the computation overhead, however, in this case, the computeLeafHashesIfNecessary should not be moved as it affects the length of the leafHashes which is used in earlier lines.
computeLeafHashesIfNecessary should be done after the range check. This calculation could be time/resource consuming but unnecessarily called if the range is invalid.
The text was updated successfully, but these errors were encountered: