Skip to content

Commit

Permalink
fix(extension): resolved pr comments
Browse files Browse the repository at this point in the history
  • Loading branch information
vetalcore committed Jul 17, 2024
1 parent bf2e30e commit ff8b9c6
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,9 @@ const mapStateToSchema = (state: CreationFlowState): SharedWalletSchema => {

return {
metadata: {
participants: coSigners.map((coSigner) => ({
coSigners: coSigners.map((coSigner) => ({
name: coSigner.name,
publicKey: coSigner.sharedWalletKey,
sharedWalletKey: coSigner.sharedWalletKey,
})),
sharedWalletName: walletName || '',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,16 @@ export interface SharedWalletSchema {
/**
* The list of participants in the shared wallet
*/
// TDOO; rename to CoSigners
participants: {
coSigners: {
[k: string]: unknown;
/**
* The name of the participant
*/
name: string;
/**
* The Ed25519KeyHash of the participant
* The Bip32PublicKeyHex of the participant
*/
publicKey: string;
sharedWalletKey: string;
}[];
/**
* The name of the shared wallet
Expand Down
1 change: 1 addition & 0 deletions packages/staking/src/features/Drawer/SignConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ export const SignConfirmationFooter = (): ReactElement => {
const signedTx = await delegationTxBuilder.build().sign();

if (isSharedWallet && sharedKey) {
// TODO: integrate with tx summary drawer LW-10970
exportMultisigTransaction(signedTx, sharedKey, currentChain);
} else {
await inMemoryWallet.submitTx(signedTx);
Expand Down

0 comments on commit ff8b9c6

Please sign in to comment.