HomePhabricator

[electrum] cleanup ECC_YfromX

Description

[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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Differential Revision: https://reviews.bitcoinabc.org/D16347

Details

Provenance
PiRKAuthored on Jun 19 2024, 09:09
PiRKPushed on Jun 20 2024, 10:19
Reviewer
Restricted Project
Differential Revision
D16347: [electrum] cleanup ECC_YfromX
Parents
rABC18a9b123e280: [e.cash] Consolidate redirect definitions
Branches
Unknown
Tags
Unknown