erigon-pulse/crypto/bls12381
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
..
arithmetic_decl.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
arithmetic_fallback.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
arithmetic_x86_adx.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
arithmetic_x86_noadx.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
arithmetic_x86.s core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
bls12_381_test.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
bls12_381.go post-rebase fixups 2020-06-15 19:38:54 +03:00
field_element_test.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
field_element.go post-rebase fixups 2020-06-15 19:38:54 +03:00
fp2.go build, internal/ethapi, crypto/bls12381: fix typos (#21210) 2020-08-07 11:17:36 +02:00
fp6.go build, internal/ethapi, crypto/bls12381: fix typos (#21210) 2020-08-07 11:17:36 +02:00
fp12.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
fp_test.go tests/fuzzers/bls1381: add bls fuzzer (#21796) 2021-03-08 12:30:14 +01:00
fp.go post-rebase fixups 2020-06-15 19:38:54 +03:00
g1_test.go post-rebase fixups 2020-06-15 19:38:54 +03:00
g1.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2021-03-08 12:34:16 +01:00
g2_test.go post-rebase fixups 2020-06-15 19:38:54 +03:00
g2.go all: simplify nested complexity and if blocks ending with a return statement (#21854) 2021-03-08 12:34:16 +01:00
gt.go post-rebase fixups 2020-06-15 19:38:54 +03:00
isogeny.go post-rebase fixups 2020-06-15 19:38:54 +03:00
pairing_test.go post-rebase fixups 2020-06-15 19:38:54 +03:00
pairing.go post-rebase fixups 2020-06-15 19:38:54 +03:00
swu.go core/vm, crypto/bls12381, params: add bls12-381 elliptic curve precompiles (#21018) 2020-06-15 19:38:13 +03:00
utils.go post-rebase fixups 2020-06-15 19:38:54 +03:00