arnaucube
arnaucube/hermez-nodePublic Self-hosted repository
remove redundant error check condition for node creation
Danilo Pantani danpantani@gmail.com
Mon, 22 Feb 2021 13:59:56 -0300
commit

bcd576480cd8bc110cb85a4e790751947d119daf

parent

8259aee884f7d62da73e646e4d5ce1ffbe861a12

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,