Skip to content

Commit

Permalink
Merge pull request #5628 from bithyve/fix/RkChannel
Browse files Browse the repository at this point in the history
fixes Remote key channel issue
  • Loading branch information
cakesoft-vaibhav authored Nov 22, 2024
2 parents 23fa8a0 + 26e9add commit 25fd660
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions src/screens/QRScreens/SignWithChannel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,21 @@ function SignWithChannel() {
},
])
);
if (isRemoteKey) {
navgation.dispatch(
CommonActions.navigate({
name: 'ShowPSBT',
params: {
data: signedSerializedPSBT,
encodeToBytes: false,
title: 'Signed PSBT',
subtitle: 'Please scan until all the QR data has been retrieved',
type: SignerType.KEEPER, // signer used as external key
},
})
);
return;
}
dispatch(updatePSBTEnvelops({ signedSerializedPSBT, xfp: vaultKey.xfp }));
navgation.dispatch(CommonActions.navigate({ name: 'SignTransactionScreen', merge: true }));
} catch (error) {
Expand Down

0 comments on commit 25fd660

Please sign in to comment.