diff --git a/node/hello/hello.go b/node/hello/hello.go index a3294feae..d8f70691a 100644 --- a/node/hello/hello.go +++ b/node/hello/hello.go @@ -139,7 +139,7 @@ func (hs *Service) SayHello(ctx context.Context, pid peer.ID) error { hmsg = &Message{} s.SetReadDeadline(time.Now().Add(10 * time.Second)) err := cborutil.ReadCborRPC(s, hmsg) // ignore error - ok := err != nil + ok := err == nil t3 := time.Now() lat := t3.Sub(t0)