use channel over peer broadcast

This commit is contained in:
Cassandra Heart 2023-09-28 03:54:39 -05:00
parent 732bbe1c3a
commit 6641ad680a
No known key found for this signature in database
GPG Key ID: 6352152859385958

View File

@ -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")