mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-18 09:53:48 +00:00
swarm/netork/stream/testing: remove trace log lines in teardown functions
This commit is contained in:
parent
b3be75c537
commit
9f88c689ab
1 changed files with 0 additions and 5 deletions
|
|
@ -143,9 +143,7 @@ func NewSimulation(conf *RunConfig) (*Simulation, func(), error) {
|
|||
DefaultService: defaultService,
|
||||
})
|
||||
teardown := func() {
|
||||
log.Trace("simulation: teardown adapter")
|
||||
adapterTeardown()
|
||||
log.Trace("simulation: teardown net")
|
||||
net.Shutdown()
|
||||
}
|
||||
ids := make([]discover.NodeID, nodes)
|
||||
|
|
@ -164,11 +162,8 @@ func NewSimulation(conf *RunConfig) (*Simulation, func(), error) {
|
|||
// set nodes number of Stores available
|
||||
stores, storeTeardown, err := SetStores(addrs...)
|
||||
teardown = func() {
|
||||
log.Trace("simulation: teardown net")
|
||||
net.Shutdown()
|
||||
log.Trace("simulation: teardown adapter")
|
||||
adapterTeardown()
|
||||
log.Trace("simulation: teardown store")
|
||||
storeTeardown()
|
||||
}
|
||||
if err != nil {
|
||||
|
|
|
|||
Loading…
Reference in a new issue