-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): combine
execute_block
impls (blockchain module) (#1575
) **Motivation** Both impls have the exact same code differing only by a couple lines. Having two feature-gated copies only makes the code harder to follow and refactor. <!-- Why does this pull request exist? What are its goals? --> **Description** * Replaces the two feature-gated `execute_block` functions in the blockchain module with a single non-gated `execute_block` function, and only feature-gates the lines of code that differ between the two features <!-- A clear and concise general description of the changes this PR introduces --> <!-- Link to issues: Resolves #111, Resolves #222 --> Closes #issue_number
- Loading branch information
Showing
1 changed file
with
13 additions
and
53 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