Skip to content

Commit

Permalink
cleanup: remove commented out code
Browse files Browse the repository at this point in the history
  • Loading branch information
Jorropo committed Aug 17, 2023
1 parent 535d7a5 commit 819f82f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions cmd/ipfs/daemon.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,6 @@ const enableIPNSPubSubKwd = "enable-namesys-pubsub"
const enableMultiplexKwd = "enable-mplex-experiment"
const agentVersionSuffix = "agent-version-suffix"

// apiAddrKwd = "address-api"
// swarmAddrKwd = "address-swarm".

var daemonCmd = &cmds.Command{
Helptext: cmds.HelpText{
Tagline: "Run a network-connected IPFS node.",
Expand Down Expand Up @@ -176,8 +173,6 @@ Headers.
cmds.StringOption(agentVersionSuffix, "Optional suffix to the AgentVersion presented by `ipfs id` and also advertised through BitSwap."),

// TODO: add way to override addresses. tricky part: updating the config if also --init.
// cmds.StringOption(apiAddrKwd, "Address for the daemon rpc API (overrides config)"),
// cmds.StringOption(swarmAddrKwd, "Address for the swarm socket (overrides config)"),
},
Subcommands: map[string]*cmds.Command{},
NoRemote: true,
Expand Down

0 comments on commit 819f82f

Please sign in to comment.