Socket
Socket
Sign inDemoInstall

chain-node

Package Overview
Dependencies
74
Maintainers
3
Versions
26
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 3.0.0-pre1 to 3.0.0-pre2

5

index.js

@@ -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 @@ };

2

package.json
{
"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);

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc