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
For very small values I believe hashes are not calculated correctly because big.js toString formats it in scientific notation if value is less than 1e-7 or greater than 1e21.
Affected functions are combine_nodes and generate_leaf_hash. Simple solution would be to call toFixed method on big.js.
The text was updated successfully, but these errors were encountered:
For very small values I believe hashes are not calculated correctly because big.js
toString
formats it in scientific notation if value is less than 1e-7 or greater than 1e21.Affected functions are
combine_nodes
andgenerate_leaf_hash
. Simple solution would be to calltoFixed
method on big.js.The text was updated successfully, but these errors were encountered: