kopia lustrzana https://github.com/bugout-dev/moonstream
Format file
rodzic
66e65c174d
commit
8afac784c1
|
@ -17,7 +17,7 @@ func InitServer() {
|
||||||
var blockchain string
|
var blockchain string
|
||||||
flag.StringVar(&listeningAddr, "host", "127.0.0.1", "Server listening address")
|
flag.StringVar(&listeningAddr, "host", "127.0.0.1", "Server listening address")
|
||||||
flag.StringVar(&listeningPort, "port", "8080", "Server listening port")
|
flag.StringVar(&listeningPort, "port", "8080", "Server listening port")
|
||||||
flag.StringVar(&blockchain, "blockchain", "", "Blockchain to work with (ethereum/polygon/xdai)")
|
flag.StringVar(&blockchain, "blockchain", "", "Blockchain to work with (ethereum/polygon/xdai)")
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
es := extendedServer{blockchain: blockchain}
|
es := extendedServer{blockchain: blockchain}
|
||||||
|
|
Ładowanie…
Reference in New Issue