Commit 11a8826d authored by Juan Batiz-Benet's avatar Juan Batiz-Benet

RPCAddress -> ddresses.API

parent 7cd9e4db
...@@ -32,11 +32,11 @@ func runCmd(c *commander.Command, inp []string) error { ...@@ -32,11 +32,11 @@ func runCmd(c *commander.Command, inp []string) error {
} }
// launch the RPC endpoint. // launch the RPC endpoint.
if n.Config.RPCAddress == "" { if n.Config.Addresses.API == "" {
return errors.New("no config.RPCAddress endpoint supplied") return errors.New("no config.Addresses.API endpoint supplied")
} }
maddr, err := ma.NewMultiaddr(n.Config.RPCAddress) maddr, err := ma.NewMultiaddr(n.Config.Addresses.API)
if err != nil { if err != nil {
return err 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