From 10bd079ea8537600bf70484815ce4309f38a6409 Mon Sep 17 00:00:00 2001 From: Robin Salen Date: Tue, 13 Aug 2024 17:17:28 -0400 Subject: [PATCH] fix indexing in error message --- 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 0ba75c0f2..39f0c745f 100644 --- a/trace_decoder/src/decoding.rs +++ b/trace_decoder/src/decoding.rs @@ -91,7 +91,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!(