Skip to content

Commit

Permalink
fixed compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
ananas-block committed Mar 27, 2024
1 parent e8c4111 commit 9fd61ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions programs/account-compression/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#![allow(clippy::too_many_arguments)]
pub mod errors;
pub mod instructions;
pub use instructions::*;
Expand Down
2 changes: 1 addition & 1 deletion programs/compressed-pda/src/nullify_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ pub fn insert_nullifiers<'a, 'b, 'c: 'info, 'info>(
let state_merkle_tree_pubkeys = inputs
.input_compressed_accounts_with_merkle_context
.iter()
.map(|account| ctx.remaining_accounts[account.index_mt_account as usize].key())
.map(|account| ctx.remaining_accounts[account.index_merkle_tree_account as usize].key())
.collect::<Vec<Pubkey>>();
let mut indexed_array_account_infos = Vec::<AccountInfo>::new();
for account in inputs.input_compressed_accounts_with_merkle_context.iter() {
Expand Down

0 comments on commit 9fd61ce

Please sign in to comment.