remove redundant error check condition for node creation
Danilo Pantani danpantani@gmail.com
Mon, 22 Feb 2021 13:59:56 -0300
1 files changed,
0 insertions(+),
3 deletions(-)
jump to
M
node/node.go
→
node/node.go
@@ -247,9 +247,6 @@ stateDB, 0, uint64(cfg.Coordinator.Circuit.NLevels))
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,