prysm-pulse/beacon-chain/p2p/testing
Victor Farazdagi ac1a4a078c
Fix reported anti patterns (#7501)
* merge var decl

* single append

* replace bytes.Compare -> bytes.Equal

* remove redundant spritnf

* remove redundant spritnf

* trimprefix

* remove redundant nil check

* remove redundant return

* plain channel or unblock on context closing

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2020-10-12 16:12:00 +00:00
..
BUILD.bazel Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
fuzz_p2p.go Fix reported anti patterns (#7501) 2020-10-12 16:12:00 +00:00
mock_broadcaster.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
mock_peermanager.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00
mock_peersprovider.go Refactor peer scorer into peerdata + scorers (#7452) 2020-10-07 13:08:51 +00:00
p2p.go Various code inspection resolutions (#7438) 2020-10-12 08:11:05 +00:00