Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

melis-fork-claimer

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

melis-fork-claimer - npm Package Compare versions

Comparing version 1.0.1 to 1.0.2

2

package.json

@@ -6,3 +6,3 @@ {

"license": "ISC",
"version": "1.0.1",
"version": "1.0.2",
"main": "src/index.js",

@@ -9,0 +9,0 @@ "scripts": {

@@ -833,2 +833,4 @@ //

const account = claim.account
console.log("# of inputs to sign: " + unspents.length + " account:", account)
const signatures = []

@@ -842,6 +844,4 @@ for (let i = 0; i < unspents.length; i++) {

//console.log("Input Script: " + inputScript.toString('hex'))
const hashForSignature = this.hashForSignature(ins, i, inputScript, tx.outs, Bitcoin.Transaction.SIGHASH_ALL)
//console.log("input #" + i + " hashForSig: ", hashForSignature.toString('hex'))
const account = claim.account
const key = melis.deriveAddressKey(account.num, aa.chain, aa.hdindex)

@@ -848,0 +848,0 @@ const signature = key.sign(hashForSignature)

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc