diff --git a/lib/core/src/Cardano/Pool/DB/Sqlite.hs b/lib/core/src/Cardano/Pool/DB/Sqlite.hs index b1245150a9b..dcfb548703c 100644 --- a/lib/core/src/Cardano/Pool/DB/Sqlite.hs +++ b/lib/core/src/Cardano/Pool/DB/Sqlite.hs @@ -399,8 +399,9 @@ newDBLayer trace fp timeInterpreter = do (PoolMetadata hash name ticker description homepage) deleteWhere [ PoolFetchAttemptsMetadataHash ==. hash ] - removePoolMetadata = + removePoolMetadata = do deleteWhere ([] :: [Filter PoolMetadata]) + deleteWhere ([] :: [Filter PoolMetadataFetchAttempts]) readPoolMetadata = do Map.fromList . map (fromPoolMeta . entityVal)