Skip to content

Commit

Permalink
Adapt to MonadTime changes
Browse files Browse the repository at this point in the history
  • Loading branch information
karknu committed Oct 17, 2019
1 parent 51868e2 commit 12070bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cardano-node/src/Cardano/CLI/Tx/BenchmarkingTxSubmission.hs
Expand Up @@ -22,7 +22,7 @@ import Control.Exception (assert)
import Control.Monad.Class.MonadSTM (MonadSTM, LazyTMVar, LazyTVar,
atomically, putTMVar, readTVar,
retry, takeTMVar, tryTakeTMVar)
import Control.Monad.Class.MonadTime (MonadTime(..), addTime, diffTime)
import Control.Monad.Class.MonadTime (MonadTime(..), addTime, diffTime, Time)
import Control.Monad.Class.MonadTimer (MonadTimer, threadDelay)
import qualified Data.Sequence as Seq
import qualified Data.Set as Set
Expand Down Expand Up @@ -295,7 +295,7 @@ defaultROEnv = ROEnv
data RWEnv m txid tx = RWEnv
{ terminating :: Bool
, activityState :: ActivityState
, proceedAfter :: Time m
, proceedAfter :: Time
, availableOp :: Maybe (Int, LazyTMVar m (Maybe [(txid, TxSubmit.TxSizeInBytes)]))
-- ^ the window and the response action
, inFlight
Expand Down

0 comments on commit 12070bf

Please sign in to comment.