Skip to content

Remove unnecessary initialization of genesis header extra data#329

Merged
byeongjee merged 1 commit intoCodeChain-io:masterfrom
byeongjee:genesis.extra.bytes
Apr 16, 2020
Merged

Remove unnecessary initialization of genesis header extra data#329
byeongjee merged 1 commit intoCodeChain-io:masterfrom
byeongjee:genesis.extra.bytes

Conversation

@byeongjee
Copy link
Contributor

We gain nothing from initializing extra data of genesis header with
hash of common params, because the check will be done by the same node,
and it will always succeed.
We can just use extra_data written in scheme file.

We gain nothing from initializing extra data of genesis header with
hash of common params, because the check will be done by the same node,
and it will always succeed.
We can just use extra_data written in scheme file.
@byeongjee byeongjee requested a review from sgkim126 April 14, 2020 09:19
@byeongjee byeongjee merged commit c13c5ef into CodeChain-io:master Apr 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants