prysm-pulse/validator/db/kv
rkapka 1f21e196b6
Fix multiple anti-patterns from DeepSource analysis (#6951)
* 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
2020-08-10 16:16:45 +00:00
..
attestation_history_test.go Remove unused functions in validator DB (#6557) 2020-07-11 17:23:30 +00:00
attestation_history.go Handle empty local slashing protection data (#6877) 2020-08-05 01:03:40 +00:00
BUILD.bazel Applies assertion funcs to validator tests (#6694) 2020-07-23 01:13:52 +00:00
db_test.go Applies assertion funcs to validator tests (#6694) 2020-07-23 01:13:52 +00:00
db.go Code quality issues - Remove unused code (#6864) 2020-08-05 13:59:46 +02:00
manage_test.go Applies assertion funcs to validator tests (#6694) 2020-07-23 01:13:52 +00:00
manage.go Audit best practice feedback - validator DB test folder (#6426) 2020-06-26 21:37:43 -05:00
proposal_history_test.go Applies assertion funcs to validator tests (#6694) 2020-07-23 01:13:52 +00:00
proposal_history.go Fix multiple anti-patterns from DeepSource analysis (#6951) 2020-08-10 16:16:45 +00:00
schema.go Audit best practice feedback - validator DB test folder (#6426) 2020-06-26 21:37:43 -05:00