diff --git a/plugin/src/plugin.rs b/plugin/src/plugin.rs index f07c63f5..b93588df 100644 --- a/plugin/src/plugin.rs +++ b/plugin/src/plugin.rs @@ -82,7 +82,7 @@ impl GeyserPlugin for SablierPlugin { let thread_pdas = rpc_client .get_program_accounts_with_config(&program_id, config) .await - .map_err(|e| PluginError::from(e))?; + .map_err(PluginError::from)?; let versioned_thread_pdas: Vec<(Pubkey, VersionedThread)> = thread_pdas .into_iter() diff --git a/programs/thread/src/instructions/thread_delete.rs b/programs/thread/src/instructions/thread_delete.rs index 043290a8..f0cb9a94 100644 --- a/programs/thread/src/instructions/thread_delete.rs +++ b/programs/thread/src/instructions/thread_delete.rs @@ -18,6 +18,7 @@ pub struct ThreadDelete<'info> { pub close_to: SystemAccount<'info>, /// The thread to be deleted. + /// CHECKS: made during the instruction processing #[account(mut)] pub thread: UncheckedAccount<'info>, // #[account(