Fix bad DHT node in tests in constructed torrent

This commit is contained in:
Matt Joiner 2016-02-24 21:57:30 +11:00
parent 976510db60
commit aa76d13ffd
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func TestInfohash(t *testing.T) {
writeranddata(tfp)
b := metainfo.Builder{}
b.AddFile(tfp)
b.AddDhtNodes([]string{fmt.Sprintf(cl_one.DHT().ID())})
b.AddDhtNodes([]string{"1.2.3.4:5555"})
ba, err := b.Submit()
if err != nil {
t.Fatal(err)