From 11a8826d4fa29eae26d420f635172a5371835b79 Mon Sep 17 00:00:00 2001 From: Juan Batiz-Benet Date: Wed, 1 Oct 2014 00:46:39 -0700 Subject: [PATCH] RPCAddress -> ddresses.API --- cmd/ipfs/run.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/ipfs/run.go b/cmd/ipfs/run.go index a3010cb07..cc9fe8483 100644 --- a/cmd/ipfs/run.go +++ b/cmd/ipfs/run.go @@ -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 }