Skip to content

Commit 50cfd90

Browse files
committed
fix(svm): L-09 close instruction_params account after execute_relayer_refund_leaf
Signed-off-by: Reinis Martinsons <reinis@umaproject.org>
1 parent 1fbad5e commit 50cfd90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

programs/svm-spoke/src/instructions/bundle.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ pub struct ExecuteRelayerRefundLeaf<'info> {
1818
#[account(mut)]
1919
pub signer: Signer<'info>,
2020

21-
#[account(seeds = [b"instruction_params", signer.key().as_ref()], bump)]
21+
#[account(mut, seeds = [b"instruction_params", signer.key().as_ref()], bump, close = signer)]
2222
pub instruction_params: Account<'info, ExecuteRelayerRefundLeafParams>, // Contains all leaf & proof information.
2323

2424
#[account(seeds = [b"state", state.seed.to_le_bytes().as_ref()], bump)]

0 commit comments

Comments
 (0)