@ledgerhq/hw-app-btc
Advanced tools
Comparing version 4.21.0-beta.12bfb9a2 to 4.21.0-beta.9cf3bfae
@@ -821,2 +821,3 @@ "use strict"; | ||
var hasTimestamp = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : false; | ||
var hasExtraData = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false; | ||
@@ -885,3 +886,5 @@ var inputs = []; | ||
} | ||
extraData = transaction.slice(offset); | ||
if (hasExtraData) { | ||
extraData = transaction.slice(offset); | ||
} | ||
return { | ||
@@ -888,0 +891,0 @@ version: version, |
{ | ||
"name": "@ledgerhq/hw-app-btc", | ||
"version": "4.21.0-beta.12bfb9a2", | ||
"version": "4.21.0-beta.9cf3bfae", | ||
"description": "Ledger Hardware Wallet Bitcoin Application API", | ||
@@ -28,3 +28,3 @@ "keywords": [ | ||
"dependencies": { | ||
"@ledgerhq/hw-transport": "^4.21.0-beta.12bfb9a2", | ||
"@ledgerhq/hw-transport": "^4.21.0-beta.9cf3bfae", | ||
"create-hash": "^1.1.3" | ||
@@ -31,0 +31,0 @@ }, |
@@ -963,3 +963,4 @@ //@flow | ||
isSegwitSupported: ?boolean = false, | ||
hasTimestamp?: boolean = false | ||
hasTimestamp?: boolean = false, | ||
hasExtraData?: boolean = false | ||
): Transaction { | ||
@@ -1030,5 +1031,7 @@ const inputs = []; | ||
nExpiryHeight = transaction.slice(offset, offset + 4); | ||
offset += 4; | ||
offset += 4; | ||
} | ||
extraData = transaction.slice(offset); | ||
if (hasExtraData) { | ||
extraData = transaction.slice(offset); | ||
} | ||
return { | ||
@@ -1035,0 +1038,0 @@ version, |
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
207224
2217