@herodotus_dev/mmr-hashes
Advanced tools
Comparing version 1.1.9 to 1.1.10
@@ -20,3 +20,3 @@ "use strict"; | ||
throw new Error(`Poseidon Hasher only accepts elements of size ${this.options.blockSizeBits} bits. Got ${JSON.stringify(mmr_core_1.IHasher.byteSize(data[sizeErrorIndex]))}`); | ||
return '0x' + this.poseidon.F.toString(this.poseidon(data)); | ||
return '0x' + BigInt(this.poseidon.F.toString(this.poseidon(data))).toString(16); | ||
} | ||
@@ -23,0 +23,0 @@ } |
{ | ||
"name": "@herodotus_dev/mmr-hashes", | ||
"version": "1.1.9", | ||
"version": "1.1.10", | ||
"description": "A TypeScript implementation of Merkle Mountain Ranges", | ||
@@ -41,3 +41,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "1c805b5d2593b6fbabfd18e0c66dda9ef37be7ac" | ||
"gitHead": "954326368b3e5ce95fb3fa1e01a66c2c5fe7d6c3" | ||
} |
Sorry, the diff of this file is not supported yet
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
134191