Fix bad DHT node in tests in constructed torrent
This commit is contained in:
parent
976510db60
commit
aa76d13ffd
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue