From 76224ec6809c57c2bd5b3507e9c8375dfdb1fefd Mon Sep 17 00:00:00 2001 From: joshieDo <93316087+joshieDo@users.noreply.github.com> Date: Wed, 2 Oct 2024 13:32:36 +0200 Subject: [PATCH] use to_vec --- crates/storage/provider/src/providers/blockchain_provider.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/storage/provider/src/providers/blockchain_provider.rs b/crates/storage/provider/src/providers/blockchain_provider.rs index 64eed98c7a21..b488bf877e40 100644 --- a/crates/storage/provider/src/providers/blockchain_provider.rs +++ b/crates/storage/provider/src/providers/blockchain_provider.rs @@ -927,7 +927,7 @@ impl TransactionsProvider for BlockchainProvider2 { 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()) }, ) }