OSDN Git Service

Add p2p security module (#143)
[bytom/vapor.git] / netsync / consensusmgr / block_fetcher_test.go
index f7d6936..f5b44a8 100644 (file)
@@ -12,8 +12,8 @@ import (
 type peerMgr struct {
 }
 
-func (pm *peerMgr) AddBannedPeer(string) error {
-       return nil
+func (pm *peerMgr) IsBanned(peerID string, level byte, reason string) bool{
+       return false
 }
 
 func (pm *peerMgr) StopPeerGracefully(string) {