forked from ChainSafe/gossamer
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(cmd/cfg): Use Babe Lead value from toml config (ChainSafe#2032)
Earlier, babe lead value was read only from "babe-lead" cli flag. cfg.BABELead was being set to false in case this flag was not provided. This commit sets cfg.BABELead from toml config and uses "babe-lead" cli flag only when it is set.
- Loading branch information
1 parent
72bcc9a
commit 406d083
Showing
2 changed files
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters