move whitelist into cfg

This commit is contained in:
Jimmy Zelinskie
2014-07-25 16:58:26 -04:00
parent cde8251bd3
commit ffb3c57181
10 changed files with 50 additions and 69 deletions

View File

@@ -124,7 +124,7 @@ func TestStalePeerPurging(t *testing.T) {
func TestPrivateAnnounce(t *testing.T) {
cfg := config.DefaultConfig
cfg.Private = true
cfg.PrivateEnabled = true
tkr, err := tracker.New(&cfg)
if err != nil {