Skip to content

Commit

Permalink
Merge branch 'master' into collator-tests
Browse files Browse the repository at this point in the history
  • Loading branch information
prestonvanloon committed Feb 10, 2018
2 parents 3d25788 + 7afef58 commit d889fe7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 15 deletions.
2 changes: 1 addition & 1 deletion cmd/geth/shardingcmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ var (
Aliases: []string{"shard"},
Usage: "Start a sharding client",
ArgsUsage: "[endpoint]",
Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag},
Flags: []cli.Flag{utils.DataDirFlag, utils.PasswordFileFlag, utils.NetworkIdFlag,utils.IPCPathFlag},
Category: "SHARDING COMMANDS",
Description: `
Launches a sharding client that connects to a running geth node and proposes collations to a Validator Manager Contract. This feature is a work in progress.
Expand Down
3 changes: 3 additions & 0 deletions sharding/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ func MakeShardingClient(ctx *cli.Context) *Client {
if endpoint == "" {
endpoint = fmt.Sprintf("%s/%s.ipc", path, clientIdentifier)
}
if ctx.GlobalIsSet(utils.IPCPathFlag.Name) {
endpoint = ctx.GlobalString(utils.IPCPathFlag.Name)
}

config := &node.Config{
DataDir: path,
Expand Down
14 changes: 0 additions & 14 deletions sharding/genesis.json

This file was deleted.

0 comments on commit d889fe7

Please sign in to comment.