From 687f17bbe8577bd0ead7eb383cf417941fe89ff8 Mon Sep 17 00:00:00 2001 From: Dan Brownstein Date: Sun, 3 Nov 2024 20:46:49 +0200 Subject: [PATCH] fix(network): fix secret key length in test util --- crates/papyrus_network/src/network_manager/test_utils.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/papyrus_network/src/network_manager/test_utils.rs b/crates/papyrus_network/src/network_manager/test_utils.rs index 1aaba292d97..97fac087a35 100644 --- a/crates/papyrus_network/src/network_manager/test_utils.rs +++ b/crates/papyrus_network/src/network_manager/test_utils.rs @@ -158,7 +158,7 @@ where let [channels_port, config_port] = find_n_free_ports::<2>(); - let channels_secret_key = [1u8; 64]; + let channels_secret_key = [1u8; 32]; let channels_public_key = Keypair::ed25519_from_bytes(channels_secret_key).unwrap().public(); let channels_config = NetworkConfig {