Skip to content

Commit 6b99a62

Browse files
cootcrocodile-dentist
authored andcommitted
dmq: stylish-haskell
1 parent fc12b21 commit 6b99a62

File tree

2 files changed

+4
-5
lines changed
  • decentralized-message-queue/src/DMQ/Protocol/LocalMsgSubmission

2 files changed

+4
-5
lines changed

decentralized-message-queue/src/DMQ/Protocol/LocalMsgSubmission/Codec.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ decodeReject = do
3939
len <- CBOR.decodeListLen
4040
tag <- CBOR.decodeWord
4141
case (tag, len) of
42-
(0, 2) -> SigInvalid <$> CBOR.decodeString
43-
(1, 1) -> pure SigDuplicate
44-
(2, 1) -> pure SigExpired
45-
(3, 2) -> SigResultOther <$> CBOR.decodeString
42+
(0, 2) -> SigInvalid <$> CBOR.decodeString
43+
(1, 1) -> pure SigDuplicate
44+
(2, 1) -> pure SigExpired
45+
(3, 2) -> SigResultOther <$> CBOR.decodeString
4646
_otherwise -> fail $ printf "unrecognized (tag,len) = (%d, %d)" tag len

decentralized-message-queue/src/DMQ/Protocol/LocalMsgSubmission/Type.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ module DMQ.Protocol.LocalMsgSubmission.Type
1212
, module Ouroboros
1313
) where
1414

15-
import Data.Typeable
1615
import Data.Text (Text)
1716
import Network.TypedProtocol.Core as Core
1817
import Ouroboros.Network.Protocol.LocalTxSubmission.Type as Ouroboros

0 commit comments

Comments
 (0)