Skip to content

Commit

Permalink
collecting accounts unsorted
Browse files Browse the repository at this point in the history
  • Loading branch information
janlegner committed Apr 1, 2024
1 parent d74dc2c commit 1f43cd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion snapshot-parser/src/stake_meta.rs
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ pub fn generate_stake_meta_collection(bank: &Arc<Bank>) -> anyhow::Result<StakeM
info!("Stake history loaded.");

let stake_accounts_raw =
bank.get_program_accounts(&solana_program::stake::program::ID, &ScanConfig::default())?;
bank.get_program_accounts(&solana_program::stake::program::ID, &ScanConfig::new(true))?;
info!("Stake accounts loaded: {}", stake_accounts_raw.len());

let mut stake_metas: Vec<StakeMeta> = Default::default();
Expand Down

0 comments on commit 1f43cd7

Please sign in to comment.