[stream] added one more comment on BeaconSyncHook

pull/3595/head
Jacky Wang 4 years ago
parent b2fe9fe348
commit 50d9878a4e
No known key found for this signature in database
GPG Key ID: 1085CE5F4FF5842C
  1. 2
      node/node_syncing.go

@ -42,6 +42,8 @@ func init() {
// TODO: This is a small misc piece of consensus logic. Better put it to consensus module.
func (node *Node) BeaconSyncHook() {
if node.Consensus.IsLeader() {
// TODO: Instead of leader, it would better be validator do this broadcast since leader do
// not have much idle resources.
node.BroadcastCrossLink()
}
}

Loading…
Cancel
Save