From 0f379c9d516b2785cad9cf57dcd0c945d3b58e7f 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!(