mirror of https://github.com/status-im/go-waku.git
chore: add debug log to identify when peer is discovered
This commit is contained in:
parent
7c56ceb139
commit
98e14cf0f6
|
@ -243,6 +243,8 @@ func (wakuPX *WakuPeerExchange) iterate(ctx context.Context) error {
|
|||
continue
|
||||
}
|
||||
|
||||
wakuPX.log.Debug("Discovered px peers via discv5")
|
||||
|
||||
wakuPX.enrCacheMutex.Lock()
|
||||
wakuPX.enrCache[iterator.Node().ID()] = peerRecord{
|
||||
idx: len(wakuPX.enrCache),
|
||||
|
|
Loading…
Reference in New Issue