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
- Branch
- deser_tx
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 24991 Build 49570: Build Diff electrum-tests Build 49569: arc lint + arc unit