Skip to content

Commit

Permalink
Remove vector
Browse files Browse the repository at this point in the history
  • Loading branch information
guibescos committed Jul 24, 2024
1 parent 0783aa5 commit 02bbe21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions program/rust/src/validator.rs
Original file line number Diff line number Diff line change
Expand Up @@ -149,8 +149,8 @@ fn checked_load_price_account(price_account_info: &[u8]) -> Option<&PriceAccount
))
}

pub fn compute_publisher_stake_caps(
account_datas: Vec<&[u8]>,
pub fn compute_publisher_stake_caps<'a>(
account_datas: impl IntoIterator<Item = &'a [u8]>,
timestamp: i64,
m: u64,
z: u64,
Expand Down

0 comments on commit 02bbe21

Please sign in to comment.