Comparing version 1.3.0 to 1.3.1
@@ -52,3 +52,4 @@ var bn = require('bn.js'); | ||
TX.prototype.hash = function hash(enc) { | ||
var h = utils.dsha256(this.render()); | ||
//var h = utils.dsha256(this.render()); | ||
var h = utils.dsha256(utils.toArray(this._raw)) | ||
return enc === 'hex' ? utils.toHex(h) : h; | ||
@@ -55,0 +56,0 @@ }; |
{ | ||
"name": "bcoin-tx", | ||
"version": "1.3.0", | ||
"version": "1.3.1", | ||
"description": "Bitcoin transaction object", | ||
@@ -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
11330
264