Commit 600829b4 authored by verokarhu's avatar verokarhu

fix localNode call

parent 4510977a
......@@ -38,7 +38,12 @@ func serveHttpCmd(c *commander.Command, _ []string) error {
return errors.New("invalid port number")
}
n, err := localNode(true)
conf, err := getConfigDir(c.Parent.Parent)
if err != nil {
return err
}
n, err := localNode(conf, true)
if err != nil {
return err
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment