Skip to content

Commit

Permalink
fix: rename the broadcast_topic_client to broadcast_topic_channels (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
guy-starkware authored Nov 11, 2024
1 parent 1224df1 commit 1ae760e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions crates/sequencing/papyrus_consensus/src/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -127,12 +127,12 @@ pub struct BroadcastConsensusMessageChannel {
}

impl From<BroadcastTopicChannels<ConsensusMessage>> for BroadcastConsensusMessageChannel {
fn from(broadcast_topic_client: BroadcastTopicChannels<ConsensusMessage>) -> Self {
fn from(broadcast_topic_channels: BroadcastTopicChannels<ConsensusMessage>) -> Self {
BroadcastConsensusMessageChannel {
broadcasted_messages_receiver: Box::new(
broadcast_topic_client.broadcasted_messages_receiver,
broadcast_topic_channels.broadcasted_messages_receiver,
),
broadcast_topic_client: broadcast_topic_client.broadcast_topic_client,
broadcast_topic_client: broadcast_topic_channels.broadcast_topic_client,
}
}
}
Expand Down

0 comments on commit 1ae760e

Please sign in to comment.