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()));