Skip to content

Commit

Permalink
pass key details to sig interaction just in case
Browse files Browse the repository at this point in the history
  • Loading branch information
bucko13 committed Nov 14, 2024
1 parent bf8da8b commit 9772cf7
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,10 @@ class DirectSignatureImporter extends React.Component {
const policyHmac = walletConfig.ledgerPolicyHmacs.find(
(hmac) => hmac.xfp === extendedPublicKeyImporter.rootXfp,
)?.policyHmac;

const keyDetails = {
xfp: extendedPublicKeyImporter.rootXfp,
path: signatureImporter.bip32Path,
};
return SignMultisigTransaction({
network,
keystore,
Expand All @@ -65,6 +68,7 @@ class DirectSignatureImporter extends React.Component {
bip32Paths,
walletConfig,
policyHmac,
keyDetails,
psbt: unsignedPSBT,
returnSignatureArray: true,
});
Expand Down

0 comments on commit 9772cf7

Please sign in to comment.