Page MenuHomePhabricator

[electrum] move .encrypt method to ECPubkey class
ClosedPublic

Authored by PiRK on Fri, Aug 23, 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

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

Event Timeline

PiRK requested review of this revision.Fri, Aug 23, 19:16
electrum/electrumabc/ecc.py
323 ↗(On Diff #49337)

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.Mon, Aug 26, 23:26