From 6641ad680aa6b2380915f69dc97cb2f5223fe06b Mon Sep 17 00:00:00 2001 From: Cassandra Heart Date: Thu, 28 Sep 2023 03:54:39 -0500 Subject: [PATCH] use channel over peer broadcast --- node/consensus/ceremony/peer_messaging.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node/consensus/ceremony/peer_messaging.go b/node/consensus/ceremony/peer_messaging.go index d3fa079..c512529 100644 --- a/node/consensus/ceremony/peer_messaging.go +++ b/node/consensus/ceremony/peer_messaging.go @@ -567,7 +567,7 @@ func (e *CeremonyDataClockConsensusEngine) handleClockFramesRequest( } } else { if err = e.publishMessage( - append(append([]byte{}, e.filter...), peerID...), + channel, frame, ); err != nil { return errors.Wrap(err, "handle clock frame request") @@ -609,7 +609,7 @@ func (e *CeremonyDataClockConsensusEngine) handleClockFramesRequest( } if err = e.publishMessage( - append(append([]byte{}, e.filter...), peerID...), + channel, frame, ); err != nil { return errors.Wrap(err, "handle clock frame request")