Page MenuHomePhabricator

[electrum] progress converting keystore.py to using bytes
ClosedPublic

Authored by PiRK on Oct 4 2023, 13:55.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC8d71c7c66119: [electrum] progress converting keystore.py to using bytes
Summary

D14592 and D14593 were minimal changes just to fix a bug. This continues the job of consistently using and returning bytes everywhere in keystore.py.
After this, the remaining str attributes are self.xpub and self.xprv in BIP32KeyStore. Those are base58 encoded ("xpub...", "xprv..."), so converting to bytes is less trivial.

Depends on D14593

Test Plan

python test_runner.py

Diff Detail

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