mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-07-27 07:06:42 +00:00
fix linters
This commit is contained in:
parent
1e75ff6109
commit
4dcc06663d
1 changed files with 0 additions and 2 deletions
|
|
@ -579,8 +579,6 @@ func testBroadcastBlock(t *testing.T, peers, bcasts int) {
|
||||||
)
|
)
|
||||||
|
|
||||||
for i, sink := range sinks {
|
for i, sink := range sinks {
|
||||||
sink := sink // Closure for goroutine below
|
|
||||||
|
|
||||||
sourcePipe, sinkPipe := p2p.MsgPipe()
|
sourcePipe, sinkPipe := p2p.MsgPipe()
|
||||||
defer sourcePipe.Close()
|
defer sourcePipe.Close()
|
||||||
defer sinkPipe.Close()
|
defer sinkPipe.Close()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue