Skip to content

Commit

Permalink
fix(proposal_create): make multisig account non-writable
Browse files Browse the repository at this point in the history
  • Loading branch information
vovacodes committed May 8, 2023
1 parent 940d763 commit 4b9784d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion programs/multisig/src/instructions/proposal_create.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ pub struct ProposalCreateArgs {
#[instruction(args: ProposalCreateArgs)]
pub struct ProposalCreate<'info> {
#[account(
mut,
seeds = [SEED_PREFIX, SEED_MULTISIG, multisig.create_key.as_ref()],
bump = multisig.bump,
)]
Expand Down
2 changes: 1 addition & 1 deletion sdk/multisig/idl/multisig.json
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@
"accounts": [
{
"name": "multisig",
"isMut": true,
"isMut": false,
"isSigner": false
},
{
Expand Down
4 changes: 2 additions & 2 deletions sdk/multisig/src/generated/instructions/proposalCreate.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4b9784d

Please sign in to comment.