mirror of
https://source.quilibrium.com/quilibrium/ceremonyclient.git
synced 2024-12-25 08:05:17 +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 {
|
} else {
|
||||||
if err = e.publishMessage(
|
if err = e.publishMessage(
|
||||||
append(append([]byte{}, e.filter...), peerID...),
|
channel,
|
||||||
frame,
|
frame,
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return errors.Wrap(err, "handle clock frame request")
|
return errors.Wrap(err, "handle clock frame request")
|
||||||
@ -609,7 +609,7 @@ func (e *CeremonyDataClockConsensusEngine) handleClockFramesRequest(
|
|||||||
}
|
}
|
||||||
|
|
||||||
if err = e.publishMessage(
|
if err = e.publishMessage(
|
||||||
append(append([]byte{}, e.filter...), peerID...),
|
channel,
|
||||||
frame,
|
frame,
|
||||||
); err != nil {
|
); err != nil {
|
||||||
return errors.Wrap(err, "handle clock frame request")
|
return errors.Wrap(err, "handle clock frame request")
|
||||||
|
Loading…
Reference in New Issue
Block a user