From ec6e261c4345d02f48a954781a514ab9e8507de1 Mon Sep 17 00:00:00 2001 From: Leo Date: Thu, 20 Aug 2020 22:05:25 +0200 Subject: [PATCH] Receive own signatures --- bridge/cmd/guardiand/p2p.go | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/bridge/cmd/guardiand/p2p.go b/bridge/cmd/guardiand/p2p.go index 8bc9ef45..82a032ab 100644 --- a/bridge/cmd/guardiand/p2p.go +++ b/bridge/cmd/guardiand/p2p.go @@ -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),