Skip to content

Commit

Permalink
Merge pull request #215 from ElrondNetwork/remove-panic
Browse files Browse the repository at this point in the history
Removed panic in main.go
  • Loading branch information
iulianpascalau authored Mar 16, 2022
2 parents 5b9e825 + d1e64d1 commit 0233b3b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions cmd/bridge/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 0233b3b

Please sign in to comment.