Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(connect): all backupDevice and recoveryDevice even for devices w… #15599

Draft
wants to merge 1 commit into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

todo

});
} catch (error) {
let formattedError: string;
Expand Down
Loading