Merge pull request #20 from expanse-org/v1.6.x

fix default api append
This commit is contained in:
Christopher Franko 2017-06-05 11:03:58 -04:00 committed by GitHub
commit 89ac899484

View file

@ -99,8 +99,8 @@ func defaultNodeConfig() node.Config {
cfg := node.DefaultConfig
cfg.Name = clientIdentifier
cfg.Version = params.VersionWithCommit(gitCommit)
cfg.HTTPModules = append(cfg.HTTPModules, "eth, exp")
cfg.WSModules = append(cfg.WSModules, "eth, exp")
cfg.HTTPModules = append(cfg.HTTPModules, "eth")
cfg.WSModules = append(cfg.WSModules, "eth")
cfg.IPCPath = "gexp.ipc"
return cfg
}