Page MenuHomePhabricator

[electrum] cleanup ECC_YfromX
ClosedPublic

Authored by PiRK on Jun 19 2024, 12:23.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC83565a45b310: [electrum] cleanup ECC_YfromX
Summary

Rename the function to get_y_coord_from_x, return only y (the offset is ignored in the only callsite), don't pass the curve as a parameter (we always use the same one).

This is split out for D16301

Test Plan

python test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This revision is now accepted and ready to land.Jun 19 2024, 19:36
This revision was automatically updated to reflect the committed changes.