aboutsummaryrefslogtreecommitdiffstats
path: root/p2p/discv5
diff options
context:
space:
mode:
author大彬 <hz_stb@163.com>2019-07-17 19:20:24 +0800
committerFelix Lange <fjl@twurst.com>2019-07-17 19:20:24 +0800
commit4ac04ae0feba560e93f0fad55772b8830b759d1b (patch)
treee3c966a6f538f7e7d4e4a9af9c35aad5386bd546 /p2p/discv5
parent8f80cafa108cf0a762e0e34a6a4cd04021139bd1 (diff)
downloadgo-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar
go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.gz
go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.bz2
go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.lz
go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.xz
go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.tar.zst
go-tangerine-4ac04ae0feba560e93f0fad55772b8830b759d1b.zip
all: replace fmt.Print* calls with t.Log* in tests (#19670)
Diffstat (limited to 'p2p/discv5')
-rw-r--r--p2p/discv5/sim_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/p2p/discv5/sim_test.go b/p2p/discv5/sim_test.go
index 543faecd4..76379452a 100644
--- a/p2p/discv5/sim_test.go
+++ b/p2p/discv5/sim_test.go
@@ -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])
}
}()