From 9c16c32c460e244a44ded487a0eb6fc7c33cfa7e Mon Sep 17 00:00:00 2001 From: Marten Seemann Date: Tue, 30 Mar 2021 15:48:36 +0700 Subject: [PATCH] fix staticcheck failure --- client.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client.go b/client.go index 6677a14..776423b 100644 --- a/client.go +++ b/client.go @@ -202,7 +202,7 @@ func simOpen(protos []string, rwc io.ReadWriteCloser) (string, bool, error) { var iamserver bool if peerNonce == myNonce { - return "", false, errors.New("failed client selection; identical nonces!") + return "", false, errors.New("failed client selection; identical nonces") } iamserver = peerNonce > myNonce