-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(RAFT): fix wrong raft.is_enabled usage
the whole idea of putting RAFT into separate module is to remove hundreds of spaghetti lines like: if not current_node.raft.is_enabled and put Raft helper functions under node.raft.<HELPER> to avoid hundreds of helpers imports it can be exceptions in case of using raft.is_enabled as part of a complex 'if' when code logic depends not only on the Raft feature
- Loading branch information
Showing
3 changed files
with
42 additions
and
25 deletions.
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
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