Skip to content

Commit

Permalink
Appease the hlint deity once again.
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanknowles committed Sep 4, 2020
1 parent 6230e05 commit a4ba88c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/core/src/Cardano/Pool/DB/Sqlite.hs
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,8 @@ import Data.Either
( rights )
import Data.Function
( (&) )
import Data.Functor
( (<&>) )
import Data.Generics.Internal.VL.Lens
( view )
import Data.List
Expand Down Expand Up @@ -400,7 +402,7 @@ newDBLayer trace fp timeInterpreter = do
, Single fieldMetadataUrl
) = do
regCert <- parseRegistrationCertificate
parseRetirementCertificate >>= pure . maybe
parseRetirementCertificate <&> maybe
(PoolRegistered regCert)
(PoolRegisteredAndRetired regCert)
where
Expand Down

0 comments on commit a4ba88c

Please sign in to comment.