Skip to content

Comments

fix: remove redundant B256 conversion in linea consensus#765

Open
dizer-ti wants to merge 1 commit intoa16z:masterfrom
dizer-ti:master
Open

fix: remove redundant B256 conversion in linea consensus#765
dizer-ti wants to merge 1 commit intoa16z:masterfrom
dizer-ti:master

Conversation

@dizer-ti
Copy link
Contributor

Remove unnecessary type conversions in verify_block function. hash_slow() already returns B256, so converting B256 → Vec → [u8; 32] → B256 was redundant.

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.

1 participant