Unverified Commit 8045504a authored by Adam Schmideg's avatar Adam Schmideg Committed by GitHub

les: log disconnect reason when light server is not synced (#20643)

Co-authored-by: 's avatarligi <ligi@ligi.de>
parent c22fdec3
......@@ -128,6 +128,7 @@ func (h *serverHandler) handle(p *peer) error {
}
// Reject light clients if server is not synced.
if !h.synced() {
p.Log().Debug("Light server not synced, rejecting peer")
return p2p.DiscRequested
}
defer p.fcClient.Disconnect()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment