diff --git a/P2P/Protocol.hs b/P2P/Protocol.hs index eccca1fef7..aec03c3157 100644 --- a/P2P/Protocol.hs +++ b/P2P/Protocol.hs @@ -377,7 +377,7 @@ negotiateProtocolVersion preferredversion = do case r of Just (VERSION v) -> net $ setProtocolVersion v -- Old server doesn't know about the VERSION command. - Just (ERROR _) -> return () + Just (ERROR _) -> net $ setProtocolVersion 0 _ -> net $ sendMessage (ERROR "expected VERSION") sendBypass :: Bypass -> Proto ()