@exodus/bitcoin-api 2.6.2 → 2.6.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@exodus/bitcoin-api",
|
|
3
|
-
"version": "2.6.
|
|
3
|
+
"version": "2.6.3",
|
|
4
4
|
"description": "Exodus bitcoin-api",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"files": [
|
|
@@ -43,5 +43,5 @@
|
|
|
43
43
|
"@scure/btc-signer": "^1.1.0",
|
|
44
44
|
"jest-when": "^3.5.1"
|
|
45
45
|
},
|
|
46
|
-
"gitHead": "
|
|
46
|
+
"gitHead": "49877e9351bd709a6bc5ea69cb609dff70777e4c"
|
|
47
47
|
}
|
|
@@ -143,7 +143,7 @@ export const signTxFactory = ({ assetName, resolvePurpose, keys, coinInfo, netwo
|
|
|
143
143
|
// dApps request to sign only specific transaction inputs.
|
|
144
144
|
if (!inputInfo) continue
|
|
145
145
|
const { address, sigHash } = inputInfo
|
|
146
|
-
const sigHashTypes = sigHash ? [sigHash] : undefined
|
|
146
|
+
const sigHashTypes = sigHash !== undefined ? [sigHash || Transaction.SIGHASH_ALL] : undefined
|
|
147
147
|
const { key, purpose, publicKey } = getKeyAndPurpose(address)
|
|
148
148
|
|
|
149
149
|
if (purpose === 49) {
|