p2p/netutil: minor code cosmetic

Signed-off-by: Abirdcfly <fp544037857@gmail.com>
pull/25397/head
Abirdcfly 2 years ago committed by GitHub
parent ff2259457a
commit 39900be087
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      p2p/netutil/error_test.go

@ -66,7 +66,6 @@ func TestIsPacketTooBig(t *testing.T) {
for i := range buf { for i := range buf {
if buf[i] != byte(i) { if buf[i] != byte(i) {
t.Fatalf("error in pattern") t.Fatalf("error in pattern")
break
} }
} }
} }

Loading…
Cancel
Save