Skip to content

Commit

Permalink
Fix broadcast slashing flag (#5515)
Browse files Browse the repository at this point in the history
  • Loading branch information
shayzluf authored Apr 19, 2020
1 parent 42e6532 commit 95f1676
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions shared/featureconfig/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,10 @@ func ConfigureBeaconChain(ctx *cli.Context) {
log.Warn("Enabling state reference copy")
cfg.EnableStateRefCopy = true
}
if ctx.Bool(broadcastSlashingFlag.Name) {
log.Warn("Enabling broadcast slashing to p2p network")
cfg.BroadcastSlashings = true
}
Init(cfg)
}

Expand Down

0 comments on commit 95f1676

Please sign in to comment.