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

Avoid panic when addr does not exist in book #484

Merged
merged 1 commit into from
Nov 8, 2022

Conversation

Mdaiki0730
Copy link
Member

Description

I think it seems that calling IsGood() function with a non existent address can cause a runtime panic error.
I fixed to avoid them.

PR Checklist

  • This implementation returns false when Book contains addr and isOld() returns false, and when Book does not contain addr. Does this fulfill IsGood's obligations?

@Mdaiki0730 Mdaiki0730 added the C: bug Classification: Something isn't working label Nov 7, 2022
@Mdaiki0730 Mdaiki0730 self-assigned this Nov 7, 2022
@CLAassistant
Copy link

CLAassistant commented Nov 7, 2022

CLA assistant check
All committers have signed the CLA.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: bug Classification: Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants