Skip to content

Commit

Permalink
Fix build failure (#65)
Browse files Browse the repository at this point in the history
  • Loading branch information
mightybyte authored Aug 17, 2021
1 parent 304618a commit 80d86ec
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion exec/Chainweb/Coins.hs
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ newtype CsvTime = CsvTime { _csvTime :: UTCTime }
instance CSV.FromField CsvTime where
parseField f = either fail pure ev
where
ev = fmap CsvTime . parseTimeM True defaultTimeLocale "%FT%TZ" =<<
ev = maybe (Left $ "Error parsing CsvTime " <> show f) (Right . CsvTime) .
parseTimeM True defaultTimeLocale "%FT%TZ" =<<
bimap show T.unpack (decodeUtf8' f)

newtype MinerRewards = MinerRewards
Expand Down

0 comments on commit 80d86ec

Please sign in to comment.