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
-3
View File
@@ -59,9 +59,6 @@ func (mp mockPeer) TrySend(byte, []byte) bool { return true }
func (mp mockPeer) Set(string, interface{}) {}
func (mp mockPeer) Get(string) interface{} { return struct{}{} }
func (mp mockPeer) SetRemovalFailed() {}
func (mp mockPeer) GetRemovalFailed() bool { return false }
type mockBlockStore struct {
blocks map[int64]*types.Block
}