Skip to content
This repository has been archived by the owner on Jan 22, 2025. It is now read-only.

Commit

Permalink
checks: Removes unnecessary braces (#34681)
Browse files Browse the repository at this point in the history
  • Loading branch information
brooksprumo authored Jan 8, 2024
1 parent 0c2d69a commit 58432a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program-runtime/src/invoke_context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ macro_rules! declare_process_instruction {
) -> std::result::Result<u64, Box<dyn std::error::Error>> {
fn process_instruction_inner(
$invoke_context: &mut $crate::invoke_context::InvokeContext,
) -> std::result::Result<(), solana_sdk::instruction::InstructionError> {
) -> std::result::Result<(), solana_sdk::instruction::InstructionError>
$inner
}

let consumption_result = if $cu_to_consume > 0
&& invoke_context
.feature_set
Expand Down

0 comments on commit 58432a6

Please sign in to comment.