Page MenuHomePhabricator

[electrum] fix compact_size_nbytes for 0-length scripts
ClosedPublic

Authored by PiRK on Sep 5 2023, 08:06.

Details

Reviewers
Fabien
Group Reviewers
Restricted Project
Commits
rABC0141616c41ed: [electrum] fix compact_size_nbytes for 0-length scripts
Summary

My previous interpretation of how empty scripts are pushed was wrong. There is a 1-byte compact size (with value 0) even in this case

Test Plan

python test_runner.py

Diff Detail

Repository
rABC Bitcoin ABC
Branch
deser_tx
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 24942
Build 49472: Build Diffelectrum-tests
Build 49471: arc lint + arc unit