@ledgerhq/hw-app-btc
Advanced tools
Comparing version 4.15.0 to 4.17.0
@@ -574,4 +574,4 @@ "use strict"; | ||
var pseudoTX = (0, _assign2.default)({}, targetTransaction); | ||
var pseudoTrustedInputs = segwit ? [trustedInputs[i]] : trustedInputs; | ||
if (segwit) { | ||
var pseudoTrustedInputs = useBip143 ? [trustedInputs[i]] : trustedInputs; | ||
if (useBip143) { | ||
pseudoTX.inputs = [(0, _extends3.default)({}, pseudoTX.inputs[i], { script: script })]; | ||
@@ -578,0 +578,0 @@ } else { |
{ | ||
"name": "@ledgerhq/hw-app-btc", | ||
"version": "4.15.0", | ||
"version": "4.17.0", | ||
"description": "Ledger Hardware Wallet Bitcoin Application API", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
@@ -630,4 +630,6 @@ //@flow | ||
let pseudoTX = Object.assign({}, targetTransaction); | ||
let pseudoTrustedInputs = segwit ? [trustedInputs[i]] : trustedInputs; | ||
if (segwit) { | ||
let pseudoTrustedInputs = useBip143 | ||
? [trustedInputs[i]] | ||
: trustedInputs; | ||
if (useBip143) { | ||
pseudoTX.inputs = [{ ...pseudoTX.inputs[i], script }]; | ||
@@ -634,0 +636,0 @@ } else { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
198934
2302