mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2024-12-22 11:41:19 +00:00
86dd1f91dd
Changes: Simplify nested complexity If an if blocks ends with a return statement then remove the else nesting. Most of the changes has also been reported in golint https://goreportcard.com/report/github.com/ethereum/go-ethereum#golint # Conflicts: # cmd/utils/flags.go # console/bridge.go # crypto/bls12381/g2.go # les/benchmark.go # les/lespay/server/balance.go # les/lespay/server/balance_tracker.go # les/lespay/server/prioritypool.go # les/odr_requests.go # les/serverpool.go # les/serverpool_test.go # p2p/nodestate/nodestate_test.go # trie/committer.go |
||
---|---|---|
.. | ||
testdata | ||
allow_list_test.go | ||
allow_list.go | ||
client_example_test.go | ||
client_test.go | ||
client.go | ||
constants_unix_nocgo.go | ||
constants_unix.go | ||
doc.go | ||
endpoints.go | ||
errors.go | ||
handler.go | ||
helpers.go | ||
http_test.go | ||
http.go | ||
inproc.go | ||
ipc_js.go | ||
ipc_unix.go | ||
ipc_windows.go | ||
ipc.go | ||
json.go | ||
metrics.go | ||
server_test.go | ||
server.go | ||
service.go | ||
stdio.go | ||
subscription_test.go | ||
subscription.go | ||
testservice_test.go | ||
types_test.go | ||
types.go | ||
websocket_test.go | ||
websocket.go |