Skip to content

Commit

Permalink
release 1.0.4-alpha.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ByteZhang1024 committed Aug 21, 2024
1 parent d4eff86 commit 9dae7c4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions packages/core/src/core/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion submodules/firmware

0 comments on commit 9dae7c4

Please sign in to comment.