Skip to content

Commit

Permalink
fix clippy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
pgarg66 committed Jun 15, 2023
1 parent 921e070 commit d35b78b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions runtime/src/bank.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5064,7 +5064,7 @@ impl Bank {
);
}
}
return ProgramAccountLoadResult::InvalidAccountData;
ProgramAccountLoadResult::InvalidAccountData
}

pub fn load_program(&self, pubkey: &Pubkey) -> Arc<LoadedProgram> {
Expand Down Expand Up @@ -5095,7 +5095,7 @@ impl Bank {
&self.feature_set,
None,
&mut load_program_metrics,
program_account.data().as_ref(),
program_account.data(),
program_account.owner(),
program_account.data().len(),
0,
Expand Down

0 comments on commit d35b78b

Please sign in to comment.