@ledgerhq/live-cli 24.42.0 → 24.42.1

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.
Files changed (2) hide show
  1. package/lib/cli.js +7 -3
  2. package/package.json +1 -1
package/lib/cli.js CHANGED
@@ -798192,6 +798192,8 @@ const OP_RETURN = 0x6a;
798192
798192
  const ZCASH_ACTIVATION_HEIGHTS = {
798193
798193
  // https://zcash.readthedocs.io/en/latest/rtd_pages/nu_dev_guide.html
798194
798194
  //
798195
+ // https://z.cash/upgrade/nu6.2/
798196
+ NU6_2: 3364600,
798195
798197
  // https://zips.z.cash/zip-0255
798196
798198
  // https://github.com/zcash/zcash/releases/tag/v6.10.0
798197
798199
  NU6_1: 3146400,
@@ -798241,8 +798243,10 @@ const defaultsSignTransaction = {
798241
798243
  };
798242
798244
  const getZcashBranchId = (blockHeight)=>{
798243
798245
  const branchId = Buffer.alloc(4);
798244
- if (!blockHeight || blockHeight >= ZCASH_ACTIVATION_HEIGHTS.NU6_1) {
798246
+ if (!blockHeight || blockHeight >= ZCASH_ACTIVATION_HEIGHTS.NU6_2) {
798245
798247
  // NOTE: null and undefined should default to latest version
798248
+ branchId.writeUInt32LE(0x5437f330, 0);
798249
+ } else if (blockHeight >= ZCASH_ACTIVATION_HEIGHTS.NU6_1) {
798246
798250
  branchId.writeUInt32LE(0x4dec4df0, 0);
798247
798251
  } else if (blockHeight >= ZCASH_ACTIVATION_HEIGHTS.NU6) {
798248
798252
  branchId.writeUInt32LE(0xc8e71055, 0);
@@ -1116049,7 +1116053,7 @@ core_config(en());
1116049
1116053
  },
1116050
1116054
  "./package.json"(module) {
1116051
1116055
  "use strict";
1116052
- module.exports = {"rE":"24.42.0"}
1116056
+ module.exports = {"rE":"24.42.1"}
1116053
1116057
 
1116054
1116058
  },
1116055
1116059
  "../../libs/coin-modules/coin-evm/lib-es/abis/erc20.abi.json"(module) {
@@ -1116064,7 +1116068,7 @@ module.exports = JSON.parse('[{"inputs":[{"internalType":"address","name":"_owne
1116064
1116068
  },
1116065
1116069
  "../../libs/ledger-live-common/package.json"(module) {
1116066
1116070
  "use strict";
1116067
- module.exports = {"rE":"35.0.0"}
1116071
+ module.exports = {"rE":"35.0.1"}
1116068
1116072
 
1116069
1116073
  },
1116070
1116074
  "../../node_modules/.pnpm/@grpc+grpc-js@1.12.6/node_modules/@grpc/grpc-js/package.json"(module) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ledgerhq/live-cli",
3
- "version": "24.42.0",
3
+ "version": "24.42.1",
4
4
  "description": "ledger-live CLI version",
5
5
  "repository": {
6
6
  "type": "git",