TODO flag for admin
This commit is contained in:
parent
59299d1b0e
commit
4e88d5d5cc
|
@ -44,6 +44,7 @@ func main() {
|
||||||
// MakeNode create a geth node entity
|
// MakeNode create a geth node entity
|
||||||
func MakeNode(datadir string) *node.Node {
|
func MakeNode(datadir string) *node.Node {
|
||||||
|
|
||||||
|
// TODO remove admin rpcapi flag
|
||||||
set := flag.NewFlagSet("test", 0)
|
set := flag.NewFlagSet("test", 0)
|
||||||
set.Bool("shh", true, "whisper")
|
set.Bool("shh", true, "whisper")
|
||||||
set.Bool("noeth", true, "disable eth")
|
set.Bool("noeth", true, "disable eth")
|
||||||
|
|
Loading…
Reference in New Issue