ethereumjs-account
Advanced tools
Comparing version 0.0.6 to 1.0.0
@@ -8,3 +8,2 @@ const ethUtil = require('ethereumjs-util') | ||
name: 'nonce', | ||
noZero: true, | ||
default: new Buffer([]) | ||
@@ -28,5 +27,2 @@ }, { | ||
Account.prototype.serialize = function () { | ||
if (this.balance.toString('hex') === '00') { | ||
this.balance = null | ||
} | ||
return rlp.encode(this.raw) | ||
@@ -108,4 +104,4 @@ } | ||
this.nonce.toString('hex') === '' && | ||
this.stateRoot.toString('hex') === ethUtil.SHA3_RLP && | ||
this.codeHash.toString('hex') === ethUtil.SHA3_NULL | ||
this.stateRoot.toString('hex') === ethUtil.SHA3_RLP.toString('hex') && | ||
this.codeHash.toString('hex') === ethUtil.SHA3_NULL.toString('hex') | ||
} |
{ | ||
"name": "ethereumjs-account", | ||
"version": "0.0.6", | ||
"version": "1.0.0", | ||
"description": "a help module for ethereum account schema", | ||
@@ -24,4 +24,4 @@ "main": "index.js", | ||
"dependencies": { | ||
"ethereumjs-util": "1.5.1", | ||
"rlp": "1.1.2" | ||
"ethereumjs-util": "2.0.0", | ||
"rlp": "2.0.0" | ||
}, | ||
@@ -28,0 +28,0 @@ "devDependencies": { |
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
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
36964
5
0
87
+ Addedethereumjs-util@2.0.0(transitive)
+ Addedrlp@2.0.0(transitive)
- Removedethereumjs-util@1.5.1(transitive)
Updatedethereumjs-util@2.0.0
Updatedrlp@2.0.0