From 9c57a2cb2156e52102c47007476805ce399c03f5 Mon Sep 17 00:00:00 2001 From: eitanm-starkware Date: Tue, 5 Nov 2024 09:39:04 +0200 Subject: [PATCH] fix(network): make network config peer id key public --- crates/papyrus_network/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/papyrus_network/src/lib.rs b/crates/papyrus_network/src/lib.rs index e9a5ea8989..2d0954b128 100644 --- a/crates/papyrus_network/src/lib.rs +++ b/crates/papyrus_network/src/lib.rs @@ -50,7 +50,7 @@ pub struct NetworkConfig { pub bootstrap_peer_multiaddr: Option, #[validate(custom = "validate_vec_u256")] #[serde(deserialize_with = "deserialize_optional_vec_u8")] - pub(crate) secret_key: Option>, + pub secret_key: Option>, pub advertised_multiaddr: Option, pub chain_id: ChainId, pub discovery_config: DiscoveryConfig,