Skip to content

Commit

Permalink
feat: derive Clone for BFTSender
Browse files Browse the repository at this point in the history
  • Loading branch information
niklaslong committed Jul 18, 2023
1 parent 362523e commit d4e5fbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node/narwhal/src/helpers/channels.rs
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ pub fn init_consensus_channels<N: Network>() -> (ConsensusSender<N>, ConsensusRe
(sender, receiver)
}

#[derive(Debug)]
#[derive(Clone, Debug)]
pub struct BFTSender<N: Network> {
pub tx_primary_round: mpsc::Sender<(u64, oneshot::Sender<Result<()>>)>,
pub tx_primary_certificate: mpsc::Sender<(BatchCertificate<N>, oneshot::Sender<Result<()>>)>,
Expand Down

0 comments on commit d4e5fbb

Please sign in to comment.