ethereumjs-util
Advanced tools
Comparing version 1.0.0 to 1.0.1
@@ -253,2 +253,4 @@ const SHA3 = require('sha3'), | ||
if(v.toString('hex') === '00' && field.noZero) v = new Buffer([]); | ||
if(field.word && new BN(v).cmp(MAX_INTEGER) === 1){ | ||
@@ -262,4 +264,4 @@ throw('to large of value'); | ||
if (!(field.empty && v.length === 0) && field.length) { | ||
assert(field.length === v.length, 'The field ' + field.name + 'must have byte length of ' + field.length); | ||
@@ -266,0 +268,0 @@ } |
{ | ||
"name": "ethereumjs-util", | ||
"version": "1.0.0", | ||
"version": "1.0.1", | ||
"description": "a collection of utility functions for Ethereum", | ||
@@ -5,0 +5,0 @@ "main": "index.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
16869
458