From 9dae7c4376d3d66056bf806eda8982ee31ba8115 Mon Sep 17 00:00:00 2001 From: ByteZhang Date: Mon, 22 Jul 2024 09:09:34 +0800 Subject: [PATCH] release 1.0.4-alpha.3 --- packages/core/src/core/index.ts | 7 +++---- submodules/firmware | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/packages/core/src/core/index.ts b/packages/core/src/core/index.ts index 27006ac91..3fa75f446 100644 --- a/packages/core/src/core/index.ts +++ b/packages/core/src/core/index.ts @@ -47,11 +47,10 @@ const Log = getLogger(LoggerNames.Core); function hasDeriveCardano(method: BaseMethod): boolean { if ( method.name.startsWith('allNetworkGetAddress') && - method.params && + method.payload && + method.payload.bundle && // @ts-expect-error - method.params.bundle && - // @ts-expect-error - method.params.bundle.some(net => net && net.network === 'ada') + method.payload.bundle.some(net => net && net.network === 'ada') ) { return true; } diff --git a/submodules/firmware b/submodules/firmware index ce24e4579..bcb81bbea 160000 --- a/submodules/firmware +++ b/submodules/firmware @@ -1 +1 @@ -Subproject commit ce24e457993e97a59e8e62f9d009e4e54f71871b +Subproject commit bcb81bbea3e66a03759d9f4665cca1509e65197f