p2p/discv5: replace fmt.* to t.* in tests.

fmt.Printf -> t.Logf
This commit is contained in:
Shitaibin 2019-06-05 12:53:41 +08:00
parent 89900fb5ff
commit 0c30eff7e1

View file

@ -50,7 +50,7 @@ func TestSimRandomResolve(t *testing.T) {
if err := net.SetFallbackNodes([]*Node{bootnode.Self()}); err != nil {
panic(err)
}
fmt.Printf("launched @ %v: %x\n", time.Now(), net.Self().ID[:16])
t.Logf("launched @ %v: %x\n", time.Now(), net.Self().ID[:16])
}
}()