diff --git a/app/Main.hs b/app/Main.hs index 269ec1b..fc62d88 100644 --- a/app/Main.hs +++ b/app/Main.hs @@ -199,7 +199,7 @@ processUri user pwd = main :: IO () main = do - config <- load ["zenith.cfg"] + config <- load ["/home/zenith/zenith.cfg"] args <- getArgs dbFilePath <- require config "dbFilePath" nodeUser <- require config "nodeUser" diff --git a/src/Zenith/CLI.hs b/src/Zenith/CLI.hs index f107dfd..776642b 100644 --- a/src/Zenith/CLI.hs +++ b/src/Zenith/CLI.hs @@ -1576,7 +1576,7 @@ sendTransaction pool chan zHost zPort znet accId bl amt ua memo = do BC.writeBChan chan $ TickMsg "Preparing transaction..." outUA <- parseAddress ua res <- - runFileLoggingT "zenith.log" $ + runFileLoggingT "/home/zenith/zenith.log" $ prepareTx pool zHost zPort znet accId bl amt outUA memo BC.writeBChan chan $ TickMsg "Transaction ready, sending to Zebra..." case res of