chain-node
Advanced tools
Comparing version 3.0.0-pre1 to 3.0.0-pre2
@@ -110,3 +110,6 @@ var bitcoin = require('bitcoinjs-lib'); | ||
Chain.prototype.signTemplate = function(template, keys, cb) { | ||
Chain.prototype.signTemplate = function(template, keys) { | ||
var keys = keys.map(function(key) { | ||
return bitcoin.ECKey.fromWIF(key.private_key); | ||
}); | ||
return Signer(this.blockChainConfig, template, keys); | ||
@@ -113,0 +116,0 @@ }; |
{ | ||
"name": "chain-node", | ||
"version": "3.0.0-pre1", | ||
"version": "3.0.0-pre2", | ||
"description": "The Official Node.js SDK for Chain's Bitcoin API", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -23,2 +23,3 @@ module.exports = Sign; | ||
var key = findKey(signature.address); | ||
if(key == undefined) continue; | ||
var pub = key.pub.toHex(); | ||
@@ -25,0 +26,0 @@ var sig = applySignature(signature.hash_to_sign, key); |
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
12617
199