From 6c143726668e7d56e8737b4a0f65b4807bc309a3 Mon Sep 17 00:00:00 2001 From: JRoberts <8711996+jr-simplex@users.noreply.github.com> Date: Wed, 29 Jun 2022 15:35:29 +0400 Subject: [PATCH] fix linter warning --- src/Simplex/Messaging/Agent.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Simplex/Messaging/Agent.hs b/src/Simplex/Messaging/Agent.hs index 00368f11d..0dadd4795 100644 --- a/src/Simplex/Messaging/Agent.hs +++ b/src/Simplex/Messaging/Agent.hs @@ -313,9 +313,9 @@ joinConn c connId (CRContactUri (ConnReqUriData _ agentVRange (qUri :| _))) cInf case ( qUri `compatibleVersion` SMP.smpClientVRange, agentVRange `compatibleVersion` aVRange ) of - (Just qInfo, Just version) -> do + (Just qInfo, Just vrsn) -> do (connId', cReq) <- newConn c connId SCMInvitation - sendInvitation c qInfo version cReq cInfo + sendInvitation c qInfo vrsn cReq cInfo pure connId' _ -> throwError $ AGENT A_VERSION