ethereumjs-account
Advanced tools
Comparing version 1.0.3 to 1.0.4
@@ -29,3 +29,3 @@ const ethUtil = require('ethereumjs-util') | ||
Account.prototype.isContract = function (address) { | ||
Account.isContract = Account.prototype.isContract = function (address) { | ||
var result = this.codeHash.toString('hex') !== ethUtil.SHA3_NULL.toString('hex') | ||
@@ -32,0 +32,0 @@ if (address) { |
{ | ||
"name": "ethereumjs-account", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "a help module for ethereum account schema", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"dependencies": { | ||
"ethereumjs-util": "2.0.1", | ||
"ethereumjs-util": "2.0.4", | ||
"rlp": "2.0.0" | ||
@@ -27,0 +27,0 @@ }, |
@@ -33,6 +33,6 @@ # SYNOPSIS | ||
var raw = [ | ||
'02', //nonce | ||
'0384', //balance | ||
'56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', //stateRoot | ||
'c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' //codeHash | ||
'0x02', //nonce | ||
'0x0384', //balance | ||
'0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', //stateRoot | ||
'0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' //codeHash | ||
]; | ||
@@ -48,5 +48,5 @@ | ||
nonce: '', | ||
balance: '03e7', | ||
stateRoot: '56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', | ||
codeHash: 'c5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' | ||
balance: '0x03e7', | ||
stateRoot: '0x56e81f171bcc55a6ff8345e692c0f86e5b48e01b996cadc001622fb5e363b421', | ||
codeHash: '0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470' | ||
}; | ||
@@ -53,0 +53,0 @@ |
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
6
96
25043
+ Addedethereumjs-util@2.0.4(transitive)
- Removedethereumjs-util@2.0.1(transitive)
Updatedethereumjs-util@2.0.4