Skip to content

Commit 84f3643

Browse files
committed
Remove unused types
Signed-off-by: Sasha Bogicevic <[email protected]>
1 parent dcbae3f commit 84f3643

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

hydra-node/src/Hydra/NetworkVersions.hs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ import Hydra.Cardano.Api (TxId, deserialiseFromRawBytesHex)
1919
networkVersionsFile :: ByteString
2020
networkVersionsFile = $(embedFile "./../networks.json")
2121

22-
data NetworkParseError
23-
= ExpectedJSONStringForTxId
24-
| FailedToParseTextToTxId Text
25-
| UnknownNetwork Text
26-
deriving stock (Eq, Show)
27-
28-
instance Exception NetworkParseError
29-
3022
parseNetworkTxIds :: String -> Either String [TxId]
3123
parseNetworkTxIds networkString = do
3224
let networkTxt = toLower $ pack networkString

0 commit comments

Comments
 (0)