diff --git a/app/Main.hs b/app/Main.hs index 70f07d5..d3c271b 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -199,7 +199,7 @@ main :: IO () main = do config <- load ["zenith.cfg"] args <- getArgs - dbName <- require config "dbName" + dbFilePath <- require config "dbFilePath" nodeUser <- require config "nodeUser" nodePwd <- require config "nodePwd" zebraPort <- require config "zebraPort" @@ -217,7 +217,7 @@ main = do " ______ _ _ _ \n |___ / (_) | | | \n / / ___ _ __ _| |_| |__ \n / / / _ \\ '_ \\| | __| '_ \\ \n / /_| __/ | | | | |_| | | |\n /_____\\___|_| |_|_|\\__|_| |_|\n Zcash Full Node CLI v0.4.0" } (root nodeUser nodePwd) - "cli" -> runZenithCLI zebraHost zebraPort dbName + "cli" -> runZenithCLI zebraHost zebraPort dbFilePath _ -> printUsage else printUsage diff --git a/zenith.cfg b/zenith.cfg index 3c9bd46..efedae5 100644 --- a/zenith.cfg +++ b/zenith.cfg @@ -1,5 +1,5 @@ nodeUser = "user" nodePwd = "superSecret" -dbName = "zenith.db" +dbFilePath = "zenith.db" zebraHost = "127.0.0.1" zebraPort = 18232