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
}
if envl.GetFrom() == h.ID() {
logger.Debug("received message from ourselves, ignoring",
zap.Any("payload", msg.Message))
continue
}
// TODO: better way to handle our own sigs?
//if envl.GetFrom() == h.ID() {
// logger.Debug("received message from ourselves, ignoring",
// zap.Any("payload", msg.Message))
// continue
//}
logger.Debug("received message",
zap.Any("payload", msg.Message),