From 15ec4656dbeeb7bab342bbca99b5a79ca9596689 Mon Sep 17 00:00:00 2001 From: Johannes Lund Date: Tue, 28 Jul 2020 03:04:00 +0200 Subject: [PATCH] Fixup from rebase --- lib/core/src/Cardano/Wallet/Api/Server.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/src/Cardano/Wallet/Api/Server.hs b/lib/core/src/Cardano/Wallet/Api/Server.hs index 794a1cb7e71..3bb31306b67 100644 --- a/lib/core/src/Cardano/Wallet/Api/Server.hs +++ b/lib/core/src/Cardano/Wallet/Api/Server.hs @@ -1622,7 +1622,7 @@ getNetworkParameters (_block0, np, _st) nl = do case epochNoM of Just epochNo -> do epochStartTime <- - liftIO $ timeInterpreter nl + liftIO $ unsafeRunExceptT $ timeInterpreter nl (firstSlotInEpoch epochNo >>= startTime) pure $ apiNetworkParams { hardforkAt = Just $