X-Git-Url: http://git.osdn.net/view?a=blobdiff_plain;f=netsync%2Fconsensusmgr%2Fblock_fetcher_test.go;h=8d0df223fb942864c252b297b9963efc9a194a0b;hb=refs%2Fheads%2Fblacklist;hp=7ac1edf0b4069a91003dfe67871a87638e3b79d7;hpb=62547a472940eb74c2eb7bcc5c6d3048554924f5;p=bytom%2Fvapor.git diff --git a/netsync/consensusmgr/block_fetcher_test.go b/netsync/consensusmgr/block_fetcher_test.go index 7ac1edf0..8d0df223 100644 --- a/netsync/consensusmgr/block_fetcher_test.go +++ b/netsync/consensusmgr/block_fetcher_test.go @@ -12,7 +12,7 @@ import ( type peerMgr struct { } -func (pm *peerMgr) IsBanned(peerID string, level byte, reason string) bool { +func (pm *peerMgr) IsBanned(ip string, level byte, reason string) bool { return false }