Skip to content

Commit

Permalink
missing code
Browse files Browse the repository at this point in the history
  • Loading branch information
darioush committed Jul 29, 2022
1 parent 18e18f9 commit afcc29e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions cmd/control/control.go
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,12 @@ func newAddNodeCommand() *cobra.Command {
"",
"[optional] JSON string of map that maps from chain id to its config file contents",
)
cmd.PersistentFlags().StringVar(
&upgradeConfigs,
"upgrade-configs",
"",
"[optional] JSON string of map that maps from chain id to its upgrade file contents",
)
return cmd
}

Expand Down
2 changes: 1 addition & 1 deletion local/network.go
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ func newNetwork(
return net, nil
}

// NewNetwork returns a new network from the given snapshot
// NewNetworkFromSnapshot returns a new network from the given snapshot
func NewNetworkFromSnapshot(
log logging.Logger,
snapshotName string,
Expand Down

0 comments on commit afcc29e

Please sign in to comment.