Skip to content

Commit 620e772

Browse files
rumenoveichhorl
andauthored
refactor: fix legacy naming of some methods (dfinity#3664)
Co-authored-by: Leo Eichhorn <[email protected]>
1 parent b68e6a2 commit 620e772

File tree

3 files changed

+84
-98
lines changed

3 files changed

+84
-98
lines changed

rs/p2p/consensus_manager/src/lib.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -141,8 +141,8 @@ fn start_consensus_manager<Artifact, WireArtifact, Assembler>(
141141
rt_handle: Handle,
142142
// Locally produced adverts to send to the node's peers.
143143
outbound_transmits: Receiver<ArtifactTransmit<Artifact>>,
144-
// Adverts received from peers
145-
adverts_received: Receiver<(SlotUpdate<WireArtifact>, NodeId, ConnId)>,
144+
// Slot updates received from peers
145+
slot_updates_rx: Receiver<(SlotUpdate<WireArtifact>, NodeId, ConnId)>,
146146
sender: UnboundedSender<UnvalidatedArtifactMutation<Artifact>>,
147147
assembler: Assembler,
148148
transport: Arc<dyn Transport>,
@@ -169,7 +169,7 @@ where
169169
log,
170170
metrics,
171171
rt_handle,
172-
adverts_received,
172+
slot_updates_rx,
173173
assembler,
174174
sender,
175175
topology_watcher,

0 commit comments

Comments
 (0)