@exodus/bitcoin-api 2.3.15 → 2.3.16

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.3.15",
3
+ "version": "2.3.16",
4
4
  "description": "Exodus bitcoin-api",
5
5
  "main": "src/index.js",
6
6
  "files": [
@@ -41,5 +41,5 @@
41
41
  "@exodus/bitcoin-meta": "^1.0.1",
42
42
  "jest-when": "^3.5.1"
43
43
  },
44
- "gitHead": "90be61265b73fc6f3238604aea72368cf684faa5"
44
+ "gitHead": "ea21eb60e35f84cf2086ae0304bf9fa8ce4058b1"
45
45
  }
@@ -150,6 +150,8 @@ export const createAndBroadcastTXFactory = ({
150
150
  'should not be called without either a receiving address or to bump a tx'
151
151
  )
152
152
 
153
+ const useCashAddress = asset.address.isCashAddress?.(address)
154
+
153
155
  const assetName = asset.name
154
156
 
155
157
  const receiveAddresses = await assetClientInterface.getReceiveAddresses({
@@ -292,6 +294,7 @@ export const createAndBroadcastTXFactory = ({
292
294
  outputs,
293
295
  },
294
296
  txMeta: {
297
+ useCashAddress, // for trezor to show the receiver cash address
295
298
  addressPathsMap: selectedUtxos.getAddressPathsMap(),
296
299
  blockHeight,
297
300
  },