Skip to content

Commit

Permalink
bundle flag
Browse files Browse the repository at this point in the history
  • Loading branch information
ucwong committed Jul 17, 2021
1 parent 41f8168 commit 092c23b
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions cmd/utils/flags.go
Original file line number Diff line number Diff line change
Expand Up @@ -1484,8 +1484,9 @@ func SetCortexConfig(ctx *cli.Context, stack *node.Node, cfg *ctxc.Config) {
if ctx.GlobalIsSet(MinerNoVerfiyFlag.Name) {
cfg.Miner.Noverify = ctx.GlobalBool(MinerNoVerfiyFlag.Name)
}

cfg.Miner.MaxMergedBundles = ctx.GlobalInt(MinerMaxMergedBundles.Name)
if ctx.GlobalIsSet(MinerMaxMergedBundles.Name) {
cfg.Miner.MaxMergedBundles = ctx.GlobalInt(MinerMaxMergedBundles.Name)
}

if ctx.GlobalIsSet(MiningEnabledFlag.Name) {
//cfg.Cuckoo.Mine = true
Expand Down

0 comments on commit 092c23b

Please sign in to comment.