Skip to content
This repository was archived by the owner on Aug 18, 2020. It is now read-only.

Commit e1bca52

Browse files
committed
add missing arg
1 parent 4bc7bc2 commit e1bca52

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

db/src/Pos/DB/Rocks/Functions.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ openNodeDBs recreate fp = do
109109
ensureDirectoryExists = liftIO . createDirectoryIfMissing True
110110

111111
ensureEmptyFileExists :: MonadIO m => FilePath -> m ()
112-
ensureEmptyFileExists = liftIO $ withFile file AppendMode (\_ -> return ())
112+
ensureEmptyFileExists file = liftIO $ withFile file AppendMode (\_ -> return ())
113113

114114
-- | Safely close all databases from 'NodeDBs'.
115115
closeNodeDBs :: MonadIO m => NodeDBs -> m ()

0 commit comments

Comments
 (0)