good morning!!!!

Skip to content
Snippets Groups Projects
Unverified Commit c6324827 authored by Jaynti Kanani's avatar Jaynti Kanani
Browse files

chg: remove unwanted ctx

parent 706e2881
Branches
Tags
No related merge requests found
......@@ -52,7 +52,7 @@ func getGenesis(genesisPath string) (*core.Genesis, error) {
return genesis, nil
}
func createBorEthereum(ctx *cli.Context, cfg *eth.Config) *eth.Ethereum {
func createBorEthereum(cfg *eth.Config) *eth.Ethereum {
workspace, err := ioutil.TempDir("", "bor-command-node-")
if err != nil {
Fatalf("failed to create temporary keystore: %v", err)
......
......@@ -1816,7 +1816,7 @@ func MakeChain(ctx *cli.Context, stack *node.Node, readOnly bool) (chain *core.B
if config.Clique != nil {
engine = clique.New(config.Clique, chainDb)
} else if config.Bor != nil {
engine = createBorEthereum(ctx, &eth.Config{
engine = createBorEthereum(&eth.Config{
Genesis: genesis,
HeimdallURL: ctx.GlobalString(HeimdallURLFlag.Name),
WithoutHeimdall: ctx.GlobalBool(WithoutHeimdallFlag.Name),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment