summaryrefslogtreecommitdiff
path: root/src/State.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/State.hs')
-rw-r--r--src/State.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/State.hs b/src/State.hs
index afdddc8..12f9db9 100644
--- a/src/State.hs
+++ b/src/State.hs
@@ -94,7 +94,7 @@ updateLocalHead_ f = updateLocalHead (fmap (,()) . f)
instance Monad m => MonadStorage (ReaderT (Head a) m) where
- getStorage = asks $ refStorage . headRef
+ getStorage = asks $ headStorage
instance (HeadType a, MonadIO m) => MonadHead a (ReaderT (Head a) m) where
updateLocalHead f = do