Browse Source

remove redundant error check condition for node creation

feature/common-tests-update
Danilo Pantani 3 years ago
parent
commit
bcd576480c
1 changed files with 0 additions and 3 deletions
  1. +0
    -3
      node/node.go

+ 0
- 3
node/node.go

@ -247,9 +247,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,

Loading…
Cancel
Save