mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-20 10:52:25 +00:00
Add 'suavex' namespace to WS interfaces (fixes test).
This commit is contained in:
parent
2f5d16e33f
commit
a7b8207783
2 changed files with 2 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ func defaultNodeConfig() node.Config {
|
||||||
cfg.Name = clientIdentifier
|
cfg.Name = clientIdentifier
|
||||||
cfg.Version = params.VersionWithCommit(git.Commit, git.Date)
|
cfg.Version = params.VersionWithCommit(git.Commit, git.Date)
|
||||||
cfg.HTTPModules = append(cfg.HTTPModules, "eth", "suavex")
|
cfg.HTTPModules = append(cfg.HTTPModules, "eth", "suavex")
|
||||||
cfg.WSModules = append(cfg.WSModules, "eth")
|
cfg.WSModules = append(cfg.WSModules, "eth", "suavex")
|
||||||
cfg.IPCPath = "geth.ipc"
|
cfg.IPCPath = "geth.ipc"
|
||||||
return cfg
|
return cfg
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -31,7 +31,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
ipcAPIs = "admin:1.0 clique:1.0 debug:1.0 engine:1.0 eth:1.0 miner:1.0 net:1.0 rpc:1.0 suavex:1.0 txpool:1.0 web3:1.0"
|
ipcAPIs = "admin:1.0 clique:1.0 debug:1.0 engine:1.0 eth:1.0 miner:1.0 net:1.0 rpc:1.0 suavex:1.0 txpool:1.0 web3:1.0"
|
||||||
httpAPIs = "eth:1.0 net:1.0 rpc:1.0 web3:1.0"
|
httpAPIs = "eth:1.0 net:1.0 rpc:1.0 suavex:1.0 web3:1.0"
|
||||||
)
|
)
|
||||||
|
|
||||||
// spawns geth with the given command line args, using a set of flags to minimise
|
// spawns geth with the given command line args, using a set of flags to minimise
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue