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 {
}
// launch the RPC endpoint.
if n.Config.RPCAddress == "" {
return errors.New("no config.RPCAddress endpoint supplied")
if n.Config.Addresses.API == "" {
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 {
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