-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix nil handling #10515
Fix nil handling #10515
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
seems we never use filesItemI.i
field. let's remove filesItemI
class and use *filesItem
? (and we will need nil-check)
hm, true, will remove it |
actually, we can remove the extra struct, but need to leave it without the nil check as pre-refactoring, because |
also, do you still need the |
startJ seems to be propagated up to |
Confirm that we having *I abandoned fields |
not allowing to merge with another review
thanks, will do another PR to remove remaining *I fields and dropping startJ returns in order to make the current code clearer. |
startJ - I don't remember. if it's unused - then unused. |
A regression was introduced as part of #10402 during files merge process where a
nil
pointer can crash erigon.