Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
valentinmadrid committed Mar 19, 2024
1 parent 108eea0 commit d569273
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions sdk/multisig/src/rpc/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ export * from "./configTransactionAccountsClose.js";
export * from "./configTransactionCreate.js";
export * from "./configTransactionExecute.js";
export * from "./multisigAddMember.js";
export * from "./multisigRemoveMember.js";
export * from "./multisigAddSpendingLimit.js";
export * from "./multisigRemoveSpendingLimit.js";
export * from "./multisigCreate.js";
Expand Down
4 changes: 3 additions & 1 deletion tests/suites/multisig-sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,9 +453,10 @@ describe("Multisig SDK", () => {
connection,
feePayer,
multisigPda: multisigPda,
configAuthority: wrongConfigAuthority,
configAuthority: wrongConfigAuthority.publicKey,
oldMember: members.proposer.publicKey,
programId,
signers: [wrongConfigAuthority],
}),
/Attempted to perform an unauthorized action/
);
Expand All @@ -469,6 +470,7 @@ describe("Multisig SDK", () => {
configAuthority: configAuthority.publicKey,
oldMember: members.voter.publicKey,
programId,
signers: [configAuthority],
});
await connection.confirmTransaction(signature);
});
Expand Down

0 comments on commit d569273

Please sign in to comment.