Skip to content

Commit

Permalink
feat(connect): all backupDevice and recoveryDevice even for devices w…
Browse files Browse the repository at this point in the history
…ithh required firmware update
  • Loading branch information
mroz22 committed Nov 27, 2024
1 parent 5b6ecfe commit 7bb240c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions packages/connect/src/core/AbstractMethod.ts
Original file line number Diff line number Diff line change
Expand Up @@ -306,8 +306,10 @@ export abstract class AbstractMethod<Name extends CallMethodPayload['method'], P
if (!version) return;

if (
device.firmwareStatus === 'required' ||
!versionUtils.isNewerOrEqual(version, range.min)
this.name !== 'backupDevice' &&
this.name !== 'recoveryDevice' &&
(device.firmwareStatus === 'required' ||
!versionUtils.isNewerOrEqual(version, range.min))
) {
return UI.FIRMWARE_OLD;
}
Expand Down
2 changes: 1 addition & 1 deletion suite-common/connect-init/src/connectInitThunks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ export const connectInitThunk = createThunk(
pendingTransportEvent: selectIsPendingTransportEvent(getState()),
transports: selectDebugSettings(getState()).transports,
_sessionsBackgroundUrl,
// debug: true, // Enable debug logs in TrezorConnect
debug: true, // Enable debug logs in TrezorConnect
});
} catch (error) {
let formattedError: string;
Expand Down

0 comments on commit 7bb240c

Please sign in to comment.