Python int has a builtin to_bytes method.
Also rename int_to_hex to int_to_le_hex to clarify what it is doing.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABC815c446f7847: [electrum] remove unnecessary hex conversion when converting int to bytes
python test_runner.py python -m electrumabc.bitcoin # run doctest
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable