plugeth/les/lespay/server
Alex Prut c92faee66e
all: simplify nested complexity and if blocks ending with a return statement ()
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
2020-11-25 09:24:50 +01:00
..
balance_test.go les, les/lespay/server: refactor client pool () 2020-09-14 22:44:20 +02:00
balance_tracker.go all: simplify nested complexity and if blocks ending with a return statement () 2020-11-25 09:24:50 +01:00
balance.go all: simplify nested complexity and if blocks ending with a return statement () 2020-11-25 09:24:50 +01:00
clientdb_test.go les, les/lespay/server: refactor client pool () 2020-09-14 22:44:20 +02:00
clientdb.go les/lespay/server: bump database version () 2020-09-16 11:51:16 +02:00
prioritypool_test.go les, les/lespay/server: refactor client pool () 2020-09-14 22:44:20 +02:00
prioritypool.go all: simplify nested complexity and if blocks ending with a return statement () 2020-11-25 09:24:50 +01:00