Merge pull request #569 from hermeznetwork/fix/node-redundant-condition

node: remove redundant error check
This commit is contained in:
arnau
2021-02-23 16:11:34 +01:00
committed by GitHub

View File

@@ -246,9 +246,6 @@ func NewNode(mode Mode, cfg *config.Node) (*Node, error) {
if err != nil {
return nil, tracerr.Wrap(err)
}
if err != nil {
return nil, tracerr.Wrap(err)
}
serverProofs := make([]prover.Client, len(cfg.Coordinator.ServerProofs))
for i, serverProofCfg := range cfg.Coordinator.ServerProofs {
serverProofs[i] = prover.NewProofServerClient(serverProofCfg.URL,