mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
eth: Lower bound on broadcast - fix gofmt
This commit is contained in:
parent
c91bd9891e
commit
2d9af032b3
1 changed files with 24 additions and 23 deletions
|
|
@ -587,7 +587,8 @@ func testBroadcastBlock(t *testing.T, totalPeers, broadcastExpected int) {
|
||||||
}
|
}
|
||||||
timeoutCh := time.NewTimer(time.Millisecond * 100).C
|
timeoutCh := time.NewTimer(time.Millisecond * 100).C
|
||||||
var receivedCount int
|
var receivedCount int
|
||||||
outer: for {
|
outer:
|
||||||
|
for {
|
||||||
select {
|
select {
|
||||||
case err = <-errCh:
|
case err = <-errCh:
|
||||||
break outer
|
break outer
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue