Some callsites already expect bytes, and the plan is to eventually only deal with bytes internally.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCa6316f3726f2: [electrum] convert var_int to return bytes
python test_runner.py
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
electrum/electrumabc/bitcoin.py | ||
---|---|---|
388 ↗ | (On Diff #42285) | is int_to_le_hex still used after this diff ? |
electrum/electrumabc/bitcoin.py | ||
---|---|---|
388 ↗ | (On Diff #42285) | Yes, sadly there is still a lof of hex serialization happening that uses it for fixed length integers (amount, sequence.... in headers, transactions...) |