good morning!!!!

Skip to content
Snippets Groups Projects
Commit e852505a authored by Zsolt Felföldi's avatar Zsolt Felföldi Committed by Péter Szilágyi
Browse files

les: fix block announcements (#19322)

parent 2f5b6cb4
No related branches found
No related tags found
No related merge requests found
......@@ -280,8 +280,8 @@ func (pm *ProtocolManager) blockLoop() {
)
for _, p := range peers {
p := p
switch p.announceType {
case announceTypeSimple:
p.queueSend(func() { p.SendAnnounce(announce) })
case announceTypeSigned:
......@@ -290,7 +290,6 @@ func (pm *ProtocolManager) blockLoop() {
signedAnnounce.sign(pm.server.privateKey)
signed = true
}
p.queueSend(func() { p.SendAnnounce(signedAnnounce) })
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment