Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit 768e5b7

Browse files
committed
Fix last hlint issues / hints
1 parent 3fe70b0 commit 768e5b7

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/Cardano/Wallet/Kernel/DB/Sqlite.hs

+1-3
Original file line numberDiff line numberDiff line change
@@ -629,9 +629,7 @@ getTxMetas conn (Offset offset) (Limit limit) accountFops mbAddress fopTxId fopT
629629
pure $ _outputTableTxId out
630630
-- union removes txId duplicates.
631631
txid <- SQL.union_ input output
632-
meta <- SQL.join_ (_mDbMeta metaDB)
633-
(\ mt -> ((_txMetaTableId mt) ==. txid))
634-
pure meta
632+
SQL.join_ (_mDbMeta metaDB) (\ mt -> ((_txMetaTableId mt) ==. txid))
635633

636634
metaQueryWithAddr addr = do
637635
meta <- case mbSorting of

test/unit/Test/Spec/Submission.hs

+1-2
Original file line numberDiff line numberDiff line change
@@ -51,8 +51,7 @@ genPending :: Core.ProtocolMagic -> Gen Pending
5151
genPending pMagic = do
5252
elems <- listOf (do tx <- Txp.genTx
5353
wit <- (V.fromList <$> listOf (Txp.genTxInWitness pMagic))
54-
aux <- Txp.TxAux <$> pure tx <*> pure wit
55-
pure aux
54+
Txp.TxAux <$> pure tx <*> pure wit
5655
)
5756
return $ Pending.fromTransactions elems
5857

0 commit comments

Comments
 (0)