ethereumjs-tx
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -35,3 +35,3 @@ const utils = require('ethereumjs-util'); | ||
this.s = new Buffer(sig.s.toArray()); | ||
this.v = ec.calcPubKeyRecoveryParam(new BN(msgHash), sig, key.getPublic()) + 27; | ||
this.v = sig.recoveryParam + 27; | ||
this._senderPubKey = false; | ||
@@ -38,0 +38,0 @@ }; |
@@ -37,2 +37,3 @@ const BN = require('bn.js'); | ||
word: true, | ||
noZero: true, | ||
default: new Buffer([]) | ||
@@ -39,0 +40,0 @@ }, { |
{ | ||
"name": "ethereumjs-tx", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "An simple module for creating, manipulating and signing ethereum transactions", | ||
@@ -17,3 +17,3 @@ "main": "index.js", | ||
"bn.js": "^2.0.5", | ||
"elliptic": "git+https://github.com/wanderer/elliptic", | ||
"elliptic": "^3.1.0", | ||
"ethereum-common": "0.0.3", | ||
@@ -20,0 +20,0 @@ "ethereumjs-util": "^1.0.1", |
@@ -11,3 +11,3 @@ [{ | ||
"0000000000000000000000000000000000000000", | ||
"00", | ||
"", | ||
"7f7465737432000000000000000000000000000000000000000000000000000000600057", | ||
@@ -29,3 +29,3 @@ "1c", | ||
"016345785d8a0000", | ||
"00", | ||
"", | ||
"1c", | ||
@@ -60,3 +60,3 @@ "24a484bfa7380860e9fa0a9f5e4b64b985e860ca31abd36e66583f9030c2e29d", | ||
"03e8", | ||
"00", | ||
"", | ||
"1b", | ||
@@ -63,0 +63,0 @@ "e56918232c8b2317ad2bdca315120072fb6357dd8b94070696a9e560a8cdcb39", |
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
Git dependency
Supply chain riskContains a dependency which resolves to a remote git URL. Dependencies fetched from git URLs are not immutable can be used to inject untrusted code or reduce the likelihood of a reproducible install.
Found 1 instance in 1 package
Native code
Supply chain riskContains native code (e.g., compiled binaries or shared libraries). Including native code can obscure malicious behavior.
Found 1 instance in 1 package
526
0
1
39786
14
+ Addedelliptic@3.1.0(transitive)
Updatedelliptic@^3.1.0