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

accounts/abi: simplify Arguments.Unpack #24277

Merged
merged 1 commit into from
Jan 24, 2022
Merged

Conversation

zhiqiangxu
Copy link
Contributor

Since len(nonIndexedArgs) is definitely 0 in this context, the code can be simplified.

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, great catch!

@fjl fjl changed the title reduce cluttering in Arguments.Unpack accounts/abi: simplify Arguments.Unpack Jan 24, 2022
@fjl fjl merged commit f39f068 into ethereum:master Jan 24, 2022
@fjl fjl added this to the 1.10.16 milestone Jan 24, 2022
sidhujag pushed a commit to syscoin/go-ethereum that referenced this pull request Jan 28, 2022
Since len(nonIndexedArgs) is definitely 0 in this context, the code can be simplified.
JacekGlen pushed a commit to JacekGlen/go-ethereum that referenced this pull request May 26, 2022
Since len(nonIndexedArgs) is definitely 0 in this context, the code can be simplified.
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.

3 participants