Add networkSelected flag for test
This commit is contained in:
parent
c500fbc423
commit
d341e385fa
|
@ -13,6 +13,14 @@ import (
|
|||
. "github.com/status-im/status-go/testing" //nolint: golint
|
||||
)
|
||||
|
||||
var (
|
||||
networkSelected string
|
||||
)
|
||||
|
||||
func init(
|
||||
flag.StringVar(&networkSelected, "network", "statuschain","Set's the network to be used for testing")
|
||||
)
|
||||
|
||||
// TestNodeOption is a callback passed to StartTestNode which alters its config.
|
||||
type TestNodeOption func(config *params.NodeConfig)
|
||||
|
||||
|
|
Loading…
Reference in New Issue