Receive own signatures

This commit is contained in:
Leo 2020-08-20 22:05:25 +02:00
parent f1f2d0c8b8
commit ec6e261c43
1 changed files with 6 additions and 5 deletions

View File

@ -223,11 +223,12 @@ func p2p(ethObsvC chan *gossipv1.EthLockupObservation, sendC chan []byte) func(c
continue continue
} }
if envl.GetFrom() == h.ID() { // TODO: better way to handle our own sigs?
logger.Debug("received message from ourselves, ignoring", //if envl.GetFrom() == h.ID() {
zap.Any("payload", msg.Message)) // logger.Debug("received message from ourselves, ignoring",
continue // zap.Any("payload", msg.Message))
} // continue
//}
logger.Debug("received message", logger.Debug("received message",
zap.Any("payload", msg.Message), zap.Any("payload", msg.Message),