diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2023-08-27 17:21:50 +0200 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2023-08-30 20:53:55 +0200 |
commit | 4c2e86ddd75f0e655fcb21aa8597dc71ce5330be (patch) | |
tree | 19af5664452cfd4a76f5fb2a5f3c2c999a30fe13 /src/Main.hs | |
parent | b2278c50bfce8d8c6f80d04822ecedf42081659d (diff) |
Call refStorage only internally in Storage modules
Diffstat (limited to 'src/Main.hs')
-rw-r--r-- | src/Main.hs | 2 |
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 |