fixed bug? with readRef

This commit is contained in:
Dmitry Zuikov 2024-03-06 16:16:44 +03:00
parent e9c7c9dbae
commit fc9b0ffb40
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ readBlock h = do
readRef :: (HasStorage m, MonadIO m) => RepoRef -> m (Maybe HashRef)
readRef ref = do
sto <- getStorage
liftIO (getRef sto (refAlias ref)) <&> fmap HashRef
liftIO (getRef sto ref) <&> fmap HashRef
readHashesFromBlock :: (MonadIO m, HasStorage m) => HashRef -> m [HashRef]
readHashesFromBlock (HashRef h) = do