From e35b392f54ba861bae37bb7ec250dfe884d0701f Mon Sep 17 00:00:00 2001 From: Eugene Gostkin Date: Thu, 7 Dec 2023 19:17:54 +0100 Subject: [PATCH] Fix bug with redemer / input index --- indexer/tasks/src/multiera/multiera_projected_nft.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indexer/tasks/src/multiera/multiera_projected_nft.rs b/indexer/tasks/src/multiera/multiera_projected_nft.rs index f7827558..9112b161 100644 --- a/indexer/tasks/src/multiera/multiera_projected_nft.rs +++ b/indexer/tasks/src/multiera/multiera_projected_nft.rs @@ -512,7 +512,7 @@ fn handle_claims_and_partial_withdraws( *partially_withdrawn .entry(input.hash().to_vec()) .or_insert(BTreeMap::new()) - .entry(input_index as i64) + .entry(input.index() as i64) .or_default() = current_input_partial_withrawal; } }