Page MenuHomePhabricator

[electrum] move .encrypt method to ECPubkey class
ClosedPublic

Authored by PiRK on Aug 23 2024, 19:16.

Details

Summary

This just makes more sense than having it as a classmethod of the private key class and requiring the pubkey to be provided as an argument.

Depends on D16675

Test Plan

python test_runner.py

Diff Detail

Event Timeline

PiRK requested review of this revision.Aug 23 2024, 19:16
electrum/electrumabc/ecc.py
323

this line is the only change (besides typehints and docstring)

bytesofman added a subscriber: bytesofman.

TIL this feature

This revision is now accepted and ready to land.Aug 26 2024, 23:26