summaryrefslogtreecommitdiff
path: root/src/Main.hs
diff options
context:
space:
mode:
authorRoman Smrž <roman.smrz@seznam.cz>2023-08-27 17:21:50 +0200
committerRoman Smrž <roman.smrz@seznam.cz>2023-08-30 20:53:55 +0200
commit4c2e86ddd75f0e655fcb21aa8597dc71ce5330be (patch)
tree19af5664452cfd4a76f5fb2a5f3c2c999a30fe13 /src/Main.hs
parentb2278c50bfce8d8c6f80d04822ecedf42081659d (diff)
Call refStorage only internally in Storage modules
Diffstat (limited to 'src/Main.hs')
-rw-r--r--src/Main.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs
index b51fa0d..b3f503d 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -251,7 +251,7 @@ instance MonadRandom CommandM where
getRandomBytes = liftIO . getRandomBytes
instance MonadStorage CommandM where
- getStorage = gets $ refStorage . headRef . csHead
+ getStorage = gets $ headStorage . csHead
instance MonadHead LocalState CommandM where
updateLocalHead f = do