mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
swarm/network: remove trace lines from the hive persistance test
This commit is contained in:
parent
80afc94a22
commit
6506604372
1 changed files with 0 additions and 3 deletions
|
|
@ -23,7 +23,6 @@ import (
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/ethereum/go-ethereum/crypto"
|
"github.com/ethereum/go-ethereum/crypto"
|
||||||
"github.com/ethereum/go-ethereum/log"
|
|
||||||
"github.com/ethereum/go-ethereum/p2p"
|
"github.com/ethereum/go-ethereum/p2p"
|
||||||
p2ptest "github.com/ethereum/go-ethereum/p2p/testing"
|
p2ptest "github.com/ethereum/go-ethereum/p2p/testing"
|
||||||
"github.com/ethereum/go-ethereum/swarm/state"
|
"github.com/ethereum/go-ethereum/swarm/state"
|
||||||
|
|
@ -146,7 +145,6 @@ func TestHiveStatePersistance(t *testing.T) {
|
||||||
for i := 0; i < peersCount; i++ {
|
for i := 0; i < peersCount; i++ {
|
||||||
raddr := RandomAddr()
|
raddr := RandomAddr()
|
||||||
h1.Register(raddr)
|
h1.Register(raddr)
|
||||||
log.Trace("add", "addr", raddr.String())
|
|
||||||
peers[raddr.String()] = true
|
peers[raddr.String()] = true
|
||||||
}
|
}
|
||||||
if err = h1.Stop(); err != nil {
|
if err = h1.Stop(); err != nil {
|
||||||
|
|
@ -163,7 +161,6 @@ func TestHiveStatePersistance(t *testing.T) {
|
||||||
|
|
||||||
i := 0
|
i := 0
|
||||||
h2.Kademlia.EachAddr(nil, 256, func(addr *BzzAddr, po int) bool {
|
h2.Kademlia.EachAddr(nil, 256, func(addr *BzzAddr, po int) bool {
|
||||||
log.Trace("check", "addr", addr.String())
|
|
||||||
delete(peers, addr.String())
|
delete(peers, addr.String())
|
||||||
i++
|
i++
|
||||||
return true
|
return true
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue