Skip to content

Commit

Permalink
Fix build_csv_string not used
Browse files Browse the repository at this point in the history
  • Loading branch information
zolting committed Nov 14, 2024
1 parent 64ec241 commit dde6cf9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions blocks/solana-parquet/src/instruction_calls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ fn collect_inner_instructions(vec: &mut Vec<InstructionCall>, timestamp: &BlockT
for (inner_index, inner_instruction) in instruction_view.inner_instructions().enumerate() {
let inner_data = bytes_to_hex(inner_instruction.data());
let executing_account = inner_instruction.program_id().to_string();
let account_arguments = inner_instruction.accounts().iter().map(|arg| arg.to_string()).collect();
let account_arguments = inner_instruction.accounts().iter().map(|arg| arg.to_string()).collect::<Vec<String>>();

vec.push(InstructionCall {
block_time: Some(timestamp.time),
Expand All @@ -96,7 +96,7 @@ fn collect_inner_instructions(vec: &mut Vec<InstructionCall>, timestamp: &BlockT
executing_account,
is_inner: true,
data: inner_data,
account_arguments,
account_arguments: build_csv_string(&account_arguments),
inner_instructions: "".to_string(),
});
}
Expand Down

0 comments on commit dde6cf9

Please sign in to comment.