ethereumjs-util
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -245,2 +245,3 @@ const SHA3 = require('sha3') | ||
} | ||
return exports.isHexPrefixed(str) ? str : '0x' + str | ||
@@ -265,3 +266,3 @@ } | ||
if (typeof this[prop] !== 'function' && prop !== 'raw' && prop !== '_fields') { | ||
obj[prop] = this[prop].toString('hex') | ||
obj[prop] = '0x' + this[prop].toString('hex') | ||
} | ||
@@ -268,0 +269,0 @@ } |
{ | ||
"name": "ethereumjs-util", | ||
"version": "2.0.2", | ||
"version": "2.0.3", | ||
"description": "a collection of utility functions for Ethereum", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
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
57364