Merge pull request #7 from Luit/patch-1

fix RegisterPeerPicker panic string

(Luit has signed the CLA.)
This commit is contained in:
Andrew Gerrand 2013-07-30 23:32:27 -07:00
commit 1d5ab13e0b

View File

@ -54,7 +54,7 @@ var (
// It is called once, when the first group is created.
func RegisterPeerPicker(fn func() PeerPicker) {
if portPicker != nil {
panic("RegisterInitPeers called more than once")
panic("RegisterPeerPicker called more than once")
}
portPicker = fn
}