Skip to content

Refactoring: add is_finality_update helper - #2828

Merged
djrtwo merged 1 commit into
devfrom
is_finality_update
Feb 28, 2022
Merged

Refactoring: add is_finality_update helper#2828
djrtwo merged 1 commit into
devfrom
is_finality_update

Conversation

@hwwhww

@hwwhww hwwhww commented Feb 10, 2022

Copy link
Copy Markdown
Contributor

Issue

update.finalized_header != BeaconBlockHeader() logic repeated.

How did I fix it

Refactoring sync protocol by adding an is_finality_update helper.

@djrtwo
djrtwo merged commit 72d4597 into dev Feb 28, 2022
@djrtwo
djrtwo deleted the is_finality_update branch February 28, 2022 15:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants