Skip to content

Commit

Permalink
Mempool.removeTxs now uses a non-empty list
Browse files Browse the repository at this point in the history
  • Loading branch information
jasagredo committed Apr 16, 2024
1 parent 62a63d8 commit a6dcdea
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -235,7 +235,9 @@ implRemoveTxs ::
=> MempoolEnv m blk
-> [GenTxId blk]
-> m ()
implRemoveTxs menv txs = do
implRemoveTxs menv txs
| null txs = pure ()
| otherwise = do
tr <- atomically $ do
is <- readTVar istate
ls <- getCurrentLedgerState ldgrInterface
Expand Down

0 comments on commit a6dcdea

Please sign in to comment.