mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-24 07:35:19 +00:00
use channel over peer broadcast
This commit is contained in:
parent
732bbe1c3a
commit
6641ad680a
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user