Skip to content
Permalink
Browse files

Fix the TODO in TxSubmissionMempoolWriter: return txids of added txs

  • Loading branch information...
mrBliss committed Jul 12, 2019
1 parent 667e72b commit fb48f1c1c8e0cbeb273cea0c23070a706d6be193
Showing with 3 additions and 2 deletions.
  1. +3 −2 ouroboros-network/src/Ouroboros/Network/TxSubmission/Inbound.hs
@@ -52,8 +52,9 @@ data TxSubmissionMempoolWriter txid tx idx m =
-- | Supply a batch of transactions to the mempool. They are either
-- accepted or rejected individually, but in the order supplied.
--
mempoolAddTxs :: [tx] -> m ()
-- TODO: we will need the txids of the ones that were added successfully
-- The 'txid's of all transactions that were added successfully are
-- returned.
mempoolAddTxs :: [tx] -> m [txid]
}

data TraceTxSubmissionInbound txid tx = TraceTxSubmissionInbound --TODO

0 comments on commit fb48f1c

Please sign in to comment.
You can’t perform that action at this time.