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
Lint
Lint Not Applicable
Unit
Tests Not Applicable