Skip to content

Commit dacd53a

Browse files
committed
fix(suite-common): cardano discovery update device
1 parent 56e1a49 commit dacd53a

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

suite-common/wallet-core/src/discovery/discoveryThunks.ts

+2
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,13 @@ export const getAvailableCardanoDerivationsThunk = createThunk(
353353

354354
const icarusTrezorPubKeyResult = await TrezorConnect.cardanoGetPublicKey({
355355
...commonParams,
356+
device: icarusPubKeyResult.success ? icarusPubKeyResult.device : device,
356357
derivationType: getDerivationType('legacy'),
357358
});
358359

359360
const ledgerPubKeyResult = await TrezorConnect.cardanoGetPublicKey({
360361
...commonParams,
362+
device: icarusTrezorPubKeyResult.success ? icarusTrezorPubKeyResult.device : device,
361363
derivationType: getDerivationType('ledger'),
362364
});
363365

0 commit comments

Comments
 (0)