diff --git a/cmd/bridge/main.go b/cmd/bridge/main.go index 24866199..26a5d3f9 100644 --- a/cmd/bridge/main.go +++ b/cmd/bridge/main.go @@ -345,10 +345,5 @@ func buildNetMessenger(cfg config.Config, marshalizer marshal.Marshalizer) (p2p. NodeOperationMode: elrondP2P.NormalOperation, } - messenger, err := libp2p.NewNetworkMessenger(args) - if err != nil { - panic(err) - } - - return messenger, nil + return libp2p.NewNetworkMessenger(args) }