diff --git a/crates/storage/provider/src/providers/blockchain_provider.rs b/crates/storage/provider/src/providers/blockchain_provider.rs index c329b593ea31..0cd978f415bc 100644 --- a/crates/storage/provider/src/providers/blockchain_provider.rs +++ b/crates/storage/provider/src/providers/blockchain_provider.rs @@ -821,15 +821,7 @@ impl TransactionsProvider for BlockchainProvider2 { self.get_in_memory_or_storage_by_tx( id.into(), |provider| provider.transaction_sender(id), - |tx_index, _, block_state| { - Ok(block_state - .block() - .block() - .body - .transactions - .get(tx_index) - .and_then(|transaction| transaction.recover_signer())) - }, + |tx_index, _, block_state| Ok(block_state.block().senders.get(tx_index).copied()), ) } }