From bd1d8e429e58655d10fd0ece9fe65f3a441fbd0e Mon Sep 17 00:00:00 2001 From: Christian Kamm Date: Thu, 18 Apr 2024 14:04:36 +0200 Subject: [PATCH] settle ix: don't require a mut owner The owner has to sign, but its data is not even read. --- programs/openbook-v2/src/accounts_ix/settle_funds.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/programs/openbook-v2/src/accounts_ix/settle_funds.rs b/programs/openbook-v2/src/accounts_ix/settle_funds.rs index d6c826dd3..8b7484608 100644 --- a/programs/openbook-v2/src/accounts_ix/settle_funds.rs +++ b/programs/openbook-v2/src/accounts_ix/settle_funds.rs @@ -5,7 +5,6 @@ use anchor_spl::token::{Token, TokenAccount}; #[derive(Accounts)] pub struct SettleFunds<'info> { - #[account(mut)] pub owner: Signer<'info>, #[account(mut)] pub penalty_payer: Signer<'info>,