diff options
Diffstat (limited to 'swarm/api/config.go')
-rw-r--r-- | swarm/api/config.go | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/swarm/api/config.go b/swarm/api/config.go index 140c938ae..3f1a2a074 100644 --- a/swarm/api/config.go +++ b/swarm/api/config.go @@ -48,7 +48,8 @@ type Config struct { *network.SyncParams Contract common.Address EnsRoot common.Address - EnsApi string + EnsDisabled bool + EnsAPIs []string Path string ListenAddr string Port string @@ -75,8 +76,9 @@ func NewDefaultConfig() (self *Config) { ListenAddr: DefaultHTTPListenAddr, Port: DefaultHTTPPort, Path: node.DefaultDataDir(), - EnsApi: node.DefaultIPCEndpoint("geth"), + EnsAPIs: nil, EnsRoot: ens.TestNetAddress, + EnsDisabled: false, NetworkId: network.NetworkId, SwapEnabled: false, SyncEnabled: true, |