Skip to content

Commit

Permalink
use to_vec
Browse files Browse the repository at this point in the history
  • Loading branch information
joshieDo committed Oct 2, 2024
1 parent 21893e2 commit 76224ec
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ impl<N: ProviderNodeTypes> TransactionsProvider for BlockchainProvider2<N> {
range,
|db_provider, db_range| db_provider.senders_by_tx_range(db_range),
|index_range, block_state| {
Ok(block_state.block_ref().senders[index_range].iter().copied().collect())
Ok(block_state.block_ref().senders[index_range].to_vec())
},
)
}
Expand Down

0 comments on commit 76224ec

Please sign in to comment.