discovery: add verbose network messages related logs

This commit is contained in:
yyforyongyu committed 2022-01-05 04:27:32 +08:00
1 parent 604aefe650
commit c1175dcabe
2 files changed
+59 -5

No files matched your search

+4
View File
@@ -492,6 +492,10 @@ func (m *SyncManager) createGossipSyncer(peer lnpeer.Peer) *GossipSyncer {
// handle any sync transitions.
s.setSyncState(chansSynced)
s.setSyncType(PassiveSync)
log.Debugf("Created new GossipSyncer[state=%s type=%s] for peer=%v",
s.syncState(), s.SyncType(), peer)
return s
}