mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-15 06:28:20 +00:00
1f21e196b6
* Merge variable declaration and assignment * Use result of type assertion to simplify cases * Replace call to bytes.Compare with bytes.Equal * Drop unnecessary use of the blank identifier * Replace x.Sub(time.Now()) with time.Until(x) * Function literal can be simplified * Use a single append to concatenate two slices * Replace time.Now().Sub(x) with time.Since(x) * Omit comparison with boolean constant * Omit redundant nil check on slices * Nested if can be replaced with else-if * Function call can be replaced with helper function * Omit redundant control flow * Use plain channel send or receive * Simplify returning boolean expression * Merge branch 'origin-master' into fix-antipatterns * Merge branch 'master' into fix-antipatterns |
||
---|---|---|
.. | ||
spectest | ||
attestation_test.go | ||
attestation.go | ||
attester_slashing_test.go | ||
attester_slashing.go | ||
block_operations_fuzz_test.go | ||
block_regression_test.go | ||
BUILD.bazel | ||
deposit_test.go | ||
deposit.go | ||
eth1_data_test.go | ||
eth1_data.go | ||
exit_test.go | ||
exit.go | ||
genesis_test.go | ||
genesis.go | ||
header_test.go | ||
header.go | ||
log.go | ||
proposer_slashing_test.go | ||
proposer_slashing.go | ||
randao_test.go | ||
randao.go | ||
signature.go |