These functions all return bytes, so make them work with bytes directly rather than converting integers to strings then converting them to bytes.
It improves code readability and performance.
Depends on D14462
Differential D14463
[electrum] remove uneccessary hex <--> bytes conversions in bitcoin.py PiRK on Sep 11 2023, 07:06. Authored by Tags None Subscribers None
Details
These functions all return bytes, so make them work with bytes directly rather than converting integers to strings then converting them to bytes. Depends on D14462 python test_runner.py I ensured every single line touched by this diff is covered by tests by introducing errors and making sure it causes failures and errors.
Diff Detail
|