Skip to content

Commit

Permalink
fix(network): make network config peer id key public
Browse files Browse the repository at this point in the history
  • Loading branch information
eitanm-starkware committed Nov 7, 2024
1 parent ac61aae commit 9c57a2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/papyrus_network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub struct NetworkConfig {
pub bootstrap_peer_multiaddr: Option<Multiaddr>,
#[validate(custom = "validate_vec_u256")]
#[serde(deserialize_with = "deserialize_optional_vec_u8")]
pub(crate) secret_key: Option<Vec<u8>>,
pub secret_key: Option<Vec<u8>>,
pub advertised_multiaddr: Option<Multiaddr>,
pub chain_id: ChainId,
pub discovery_config: DiscoveryConfig,
Expand Down

0 comments on commit 9c57a2c

Please sign in to comment.