Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TOB] Remove unreachable check in verify_authority #2159

Merged
merged 1 commit into from Nov 10, 2023

Conversation

raychu86
Copy link
Contributor

@raychu86 raychu86 commented Nov 7, 2023

Motivation

This PR removes an unreachable check in Block::verify_authority. The genesis case will (and should) never be hit because the genesis block should not have a previous_round or previous_height`.

Finding: TOB-ALEO-20

@howardwu howardwu merged commit 3f446a7 into testnet3 Nov 10, 2023
77 of 78 checks passed
@howardwu howardwu deleted the fix/verify-authority-check branch November 10, 2023 01:34
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.

None yet

2 participants