diff options
-rw-r--r-- | ethwire/messaging.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ethwire/messaging.go b/ethwire/messaging.go index b1cefc0ae..2b3836e9c 100644 --- a/ethwire/messaging.go +++ b/ethwire/messaging.go @@ -109,9 +109,10 @@ func ReadMessages(conn net.Conn) (msgs []*Msg, err error) { } } + fmt.Println(n, len(buff)) if n == 0 && len(buff) == 0 { // If there's nothing on the wire wait for a bit - time.Sleep(200) + time.Sleep(200 * time.Millisecond) continue } |