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

@ledgerhq/hw-app-btc

Package Overview
Dependencies
Maintainers
7
Versions
437
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@ledgerhq/hw-app-btc - npm Package Compare versions

Comparing version 2.2.0-beta.9d29a5c6 to 2.2.0

5

lib/Btc.js

@@ -578,5 +578,6 @@ "use strict";

}
targetTransaction.inputs[_i].prevout = trustedInputs[_i].value.slice(4, 4 + 0x24);
var offset = segwit ? 0 : 4;
targetTransaction.inputs[_i].prevout = trustedInputs[_i].value.slice(offset, offset + 0x24);
}
targetTransaction.witness = Buffer.alloc(0);

@@ -583,0 +584,0 @@ var lockTimeBuffer = Buffer.alloc(4);

4

package.json
{
"name": "@ledgerhq/hw-app-btc",
"version": "2.2.0-beta.9d29a5c6",
"version": "2.2.0",
"description": "Ledger Hardware Wallet Bitcoin Application API",

@@ -28,3 +28,3 @@ "keywords": [

"dependencies": {
"@ledgerhq/hw-transport": "^2.2.0-beta.9d29a5c6",
"@ledgerhq/hw-transport": "^2.2.0",
"create-hash": "^1.1.3"

@@ -31,0 +31,0 @@ },

@@ -623,8 +623,9 @@ //@flow

}
let offset = segwit ? 0 : 4;
targetTransaction.inputs[i].prevout = trustedInputs[i].value.slice(
4,
4 + 0x24
offset,
offset + 0x24
);
}
targetTransaction.witness = Buffer.alloc(0);

@@ -631,0 +632,0 @@ const lockTimeBuffer = Buffer.alloc(4);

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

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