Skip to content

Commit 42afd10

Browse files
committed
Remove useless comments
1 parent 4a225c7 commit 42afd10

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Node/Praos.hs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,6 @@ praosBlockForging praosParams credentials = do
7575
praosSharedBlockForging ::
7676
forall m c era.
7777
( ShelleyEraWithCrypto c (Praos c) era
78-
-- , Crypto c
7978
, IOLike m
8079
)
8180
=> HotKey.HotKey c m

ouroboros-consensus-cardano/src/shelley/Ouroboros/Consensus/Shelley/Node/Serialisation.hs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ instance ShelleyCompatible proto era
9393
SerialiseNodeToNode
9494
-------------------------------------------------------------------------------}
9595

96-
instance (ShelleyCompatible proto era) -- , Crypto (ProtoCrypto proto))
96+
instance (ShelleyCompatible proto era)
9797
=> SerialiseNodeToNodeConstraints (ShelleyBlock proto era) where
9898
estimateBlockSize hdr = overhead + hdrSize + bodySize
9999
where
@@ -137,7 +137,7 @@ instance ShelleyCompatible proto era
137137
encodeNodeToNode _ _ = toCBOR
138138
decodeNodeToNode _ _ = fromCBOR
139139

140-
instance (ShelleyCompatible proto era) -- , Crypto (ProtoCrypto proto))
140+
instance (ShelleyCompatible proto era)
141141
=> SerialiseNodeToNode (ShelleyBlock proto era) (GenTxId (ShelleyBlock proto era)) where
142142
encodeNodeToNode _ _ = toEraCBOR @era
143143
decodeNodeToNode _ _ = fromEraCBOR @era
@@ -281,7 +281,7 @@ instance ShelleyCompatible proto era
281281
encodeNodeToClient _ _ = toCBOR
282282
decodeNodeToClient _ _ = fromCBOR
283283

284-
instance (ShelleyCompatible proto era) -- , Crypto (ProtoCrypto proto))
284+
instance (ShelleyCompatible proto era)
285285
=> SerialiseNodeToClient (ShelleyBlock proto era) (GenTxId (ShelleyBlock proto era)) where
286286
encodeNodeToClient _ _ = toEraCBOR @era
287287
decodeNodeToClient _ _ = fromEraCBOR @era
@@ -301,7 +301,7 @@ instance ShelleyCompatible proto era
301301
decodeNodeToClient _ _ = decodeShelleyQuery
302302

303303
instance
304-
(ShelleyCompatible proto era{-, Crypto (ProtoCrypto proto)-}) =>
304+
(ShelleyCompatible proto era) =>
305305
SerialiseResult (ShelleyBlock proto era) (BlockQuery (ShelleyBlock proto era)) where
306306
encodeResult _ = encodeShelleyResult
307307
decodeResult _ = decodeShelleyResult

0 commit comments

Comments
 (0)