Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit bc74648

Browse files
committed
[CDEC-403] Remove partial record accessors from HandlerSpec
1 parent bf5a683 commit bc74648

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

infra/src/Pos/Infra/Communication/Types/Protocol.hs

+3-2
Original file line numberDiff line numberDiff line change
@@ -186,8 +186,9 @@ buildBS :: ByteString -> B.Builder
186186
buildBS = bprint base16F
187187

188188
data HandlerSpec
189-
= ConvHandler { hsReplyType :: MessageCode }
190-
| UnknownHandler Word8 ByteString
189+
-- | ConvHandler hsReplyType
190+
= ConvHandler !MessageCode
191+
| UnknownHandler !Word8 !ByteString
191192
deriving (Show, Generic, Eq)
192193

193194
instance Bi HandlerSpec where

0 commit comments

Comments
 (0)