OSDN Git Service

merge with prod (#1598)
authorPaladz <yzhu101@uottawa.ca>
Thu, 28 Feb 2019 03:36:24 +0000 (11:36 +0800)
committerGitHub <noreply@github.com>
Thu, 28 Feb 2019 03:36:24 +0000 (11:36 +0800)
p2p/switch.go

index 62bb71d..f9dddbf 100644 (file)
@@ -24,9 +24,10 @@ import (
 )
 
 const (
-       bannedPeerKey       = "BannedPeer"
-       defaultBanDuration  = time.Hour * 1
-       logModule           = "p2p"
+       bannedPeerKey      = "BannedPeer"
+       defaultBanDuration = time.Hour * 1
+       logModule          = "p2p"
+
        minNumOutboundPeers = 5
 )