merkle-tools
Advanced tools
Comparing version 1.3.0 to 1.3.1
@@ -96,2 +96,3 @@ /*jslint node: true */ | ||
if (leafCount > 0) { // skip this whole process if there are no leaves added to the tree | ||
tree.levels = []; | ||
tree.levels.unshift(tree.leaves); | ||
@@ -110,2 +111,3 @@ while (tree.levels[0].length > 1) { | ||
if (leafCount > 0) { // skip this whole process if there are no leaves added to the tree | ||
tree.levels = []; | ||
tree.levels.unshift(tree.leaves); | ||
@@ -112,0 +114,0 @@ while (tree.levels[0].length > 1) { |
{ | ||
"name": "merkle-tools", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Tools for creating merkle trees, generating merkle proofs, and verification of merkle proofs.", | ||
@@ -5,0 +5,0 @@ "main": "merkletools.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44391
655