Skip to content

Commit

Permalink
BFT-496: Remove the subscription method
Browse files Browse the repository at this point in the history
  • Loading branch information
aakoshh committed Jul 30, 2024
1 parent 40197f1 commit eeb6b64
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion node/actors/executor/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ impl Executor {
self.batch_store.clone(),
attester,
net.batch_vote_publisher(),
net.attestation_status_receiver(),
self.attestation_status.subscribe(),
);
s.spawn(async {
runner.run(ctx).await?;
Expand Down
5 changes: 0 additions & 5 deletions node/actors/network/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ impl Network {
BatchVotesPublisher(self.gossip.batch_votes.clone())
}

/// Subscribe to attestation status change notifications.
pub fn attestation_status_receiver(&self) -> AttestationStatusReceiver {
self.gossip.attestation_status.subscribe()
}

/// Handles a dispatcher message.
async fn handle_message(
&self,
Expand Down

0 comments on commit eeb6b64

Please sign in to comment.