erigon-pulse/rlp
Alex Prut 86dd1f91dd all: simplify nested complexity and if blocks ending with a return statement (#21854)
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
2021-03-08 12:34:16 +01:00
..
decode_tail_test.go all: update license information 2016-04-15 09:48:05 +02:00
decode_test.go [GC] uint256 rather than big.Int in Transaction (#614) 2020-06-04 08:43:08 +01:00
decode.go [GC] uint256 rather than big.Int in Transaction (#614) 2020-06-04 08:43:08 +01:00
doc.go rlp: improve nil pointer handling (#20064) 2019-09-13 11:10:57 +02:00
encode_test.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2021-03-08 12:34:16 +01:00
encode.go geth 1.9.18 post-rebase fixups 2020-08-08 17:33:35 +02:00
encoder_example_test.go rlp: improve nil pointer handling (#20064) 2019-09-13 11:10:57 +02:00
iterator_test.go post-rebase fixups 2020-05-20 15:26:22 +03:00
iterator.go cmd, core, eth: background transaction indexing (#20302) 2020-05-20 15:26:22 +03:00
raw_test.go core/types, rlp: optimize derivesha (#21728) 2020-12-03 18:59:17 +01:00
raw.go core/types, rlp: optimize derivesha (#21728) 2020-12-03 18:59:17 +01:00
typecache.go rlp: reduce allocations for big.Int and byte array encoding (#21291) 2020-08-07 12:46:45 +02:00