mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-13 10:48:35 -07:00
move whitelist into cfg
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user