From 31ec8158d2a80440419621f5e2d0adc652894657 Mon Sep 17 00:00:00 2001 From: Elias Rohrer Date: Mon, 4 Nov 2024 17:57:39 +0100 Subject: [PATCH] f `vec!` --- tests/integration_tests_rust.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/integration_tests_rust.rs b/tests/integration_tests_rust.rs index d8f777581..52f302e44 100644 --- a/tests/integration_tests_rust.rs +++ b/tests/integration_tests_rust.rs @@ -323,7 +323,7 @@ fn onchain_wallet_recovery() { let chain_source = TestChainSource::Esplora(&electrsd); - let seed_bytes: Vec = std::iter::repeat(42u8).take(64).collect(); + let seed_bytes = vec![42u8; 64]; let original_config = random_config(true); let original_node = setup_node(&chain_source, original_config, Some(seed_bytes.clone()));