Revert "security/p2p: prevent peers who errored being added to the peer_set (backport #9500) (#9516)"

This reverts commit 430afb23e7.
This commit is contained in:
Jasmina Malicevic
2022-10-10 17:36:09 +02:00
parent a28c987f5a
commit 3b4d8e9d16
11 changed files with 1 additions and 82 deletions
-2
View File
@@ -84,5 +84,3 @@ func (fp *fuzzPeer) Send(byte, []byte) bool { return true }
func (fp *fuzzPeer) TrySend(byte, []byte) bool { return true }
func (fp *fuzzPeer) Set(key string, value interface{}) { fp.m[key] = value }
func (fp *fuzzPeer) Get(key string) interface{} { return fp.m[key] }
func (fp *fuzzPeer) SetRemovalFailed() {}
func (fp *fuzzPeer) GetRemovalFailed() bool { return false }