Skip to content

Refactor method name to distinguish by parameter name#210

Merged
zilm13 merged 3 commits intoharmony-dev:feature/discv5-clientfrom
shahankhatch:feature/discv5-client
Nov 25, 2019
Merged

Refactor method name to distinguish by parameter name#210
zilm13 merged 3 commits intoharmony-dev:feature/discv5-clientfrom
shahankhatch:feature/discv5-client

Conversation

@shahankhatch
Copy link
Copy Markdown
Contributor

This refactor is to make it clearer when magic is applied to the first parameter in WhoAreYouPacket. For both create methods, I thought the Bytes and Bytes32 types of the first parameter were too closely related, making it hard for me to distinguish when generalizing types (integration of this discv5 into Artemis uses Tuweni Bytes).

@shahankhatch shahankhatch mentioned this pull request Nov 23, 2019
@zilm13
Copy link
Copy Markdown
Member

zilm13 commented Nov 25, 2019

Cool, I like it

@zilm13 zilm13 merged commit 9985d2e into harmony-dev:feature/discv5-client Nov 25, 2019
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.

2 participants