Skip to content

Commit 8e220a7

Browse files
committed
clean
1 parent 89b6c22 commit 8e220a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/src/bank/pyth_accumulator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -373,7 +373,7 @@ fn post_accumulator_attestation(
373373
}
374374

375375
pub fn update_v2(bank: &Bank) -> std::result::Result<(), AccumulatorUpdateErrorV1> {
376-
let accounts: Vec<(Pubkey, AccountSharedData)> = bank
376+
let accounts = bank
377377
.get_program_accounts(&ORACLE_PUBKEY, &ScanConfig::new(true))
378378
.map_err(AccumulatorUpdateErrorV1::GetProgramAccounts)?;
379379

0 commit comments

Comments
 (0)