-
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 withdrawals check #8642
Fix withdrawals check #8642
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.
What was the problem with the previous logic?
The logic was to set the withdrawals from req for capella and up. No need to do the checks if withdrawals aren't expected, as it would be nil anyways. |
Hmm. The change doesn't look right to me. If |
Either way, there is no need for checking This change is not a logical change to handle newPayloadV1 against the specs, but simply to avoid 2 more unnecessary if conditions, with the rest of the logic as is. |
OK. So with this change |
You are right, and
You are right, and there is some refactoring needed in the existing code. I don't understand why |
No description provided.