From 3c94cfe59bfc41dfffda684d9826a12b07563db8 Mon Sep 17 00:00:00 2001 From: Robin Salen <30937548+Nashtare@users.noreply.github.com> Date: Tue, 13 Aug 2024 18:00:20 -0400 Subject: [PATCH] fix indexing in error message (#490) --- trace_decoder/src/decoding.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trace_decoder/src/decoding.rs b/trace_decoder/src/decoding.rs index 539f6ad51..30307a6f5 100644 --- a/trace_decoder/src/decoding.rs +++ b/trace_decoder/src/decoding.rs @@ -89,7 +89,7 @@ pub fn into_txn_proof_gen_ir( &mut extra_data, &other_data, ) - .context(format!("at transaction index {}", txn_idx)) + .context(format!("at transaction index {}", current_idx)) }) .collect::>>() .context(format!(