TxOutput is a NamedTuple, which can be accessed by index or by attribute name. Accessing the fields by attribute name makes the code more readable.
Details
Details
- Reviewers
Fabien - Group Reviewers
Restricted Project - Commits
- rABCd10b4d3c45ef: [electrum] access TxOutput value by attribute name rather than index in…
python test_runner.py
Run the application, send a transaction to make sure the codepaths are triggered.
Diff Detail
Diff Detail
- Repository
- rABC Bitcoin ABC
- Lint
Lint Passed - Unit
No Test Coverage - Build Status
Buildable 24878 Build 49344: Build Diff electrum-tests Build 49343: arc lint + arc unit
Event Timeline
Comment Actions
add typehints on touched methods to clarify that tx really has a tx.outputs() -> List[TXOutput] method