Skip to content

Conversation

JeneaVranceanu
Copy link
Collaborator

Summary of Changes

Removed redundant code as two functions hashECRecover and personalECRecover have identical code except for 1 line that calculates a hash from the message in personalECRecover.

Screenshot 2023-02-11 at 18 20 16

Test Data or Screenshots

By submitting this pull request, you are confirming the following:
  • I have reviewed the Contribution Guidelines.
  • I have performed a self-review of my own code.
  • I have updated my repository to match the develop branch.
  • I have included test data or screenshots that prove my fix is effective or that my feature works.
  • I have checked that all tests work and swiftlint is not throwing any errors/warnings.

Copy link
Collaborator

@janndriessen janndriessen left a comment

Choose a reason for hiding this comment

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

🦅 👁️ nice find!

@JeneaVranceanu
Copy link
Collaborator Author

@janndriessen @yaroslavyaroslav I'll quickly fix the conflicts and will need your reapproval.

@JeneaVranceanu JeneaVranceanu merged commit 7f8230e into web3swift-team:develop Feb 14, 2023
@JeneaVranceanu JeneaVranceanu deleted the chore/ec-recover-message-and-hash branch February 14, 2023 11:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants