HomePhabricator

[electrum] fix compact_size_nbytes for 0-length scripts

Description

[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

Reviewers: #bitcoin_abc, Fabien

Reviewed By: #bitcoin_abc, Fabien

Subscribers: Fabien

Differential Revision: https://reviews.bitcoinabc.org/D14447

Details

Provenance
PiRKAuthored on Sep 5 2023, 08:03
PiRKPushed on Sep 5 2023, 16:14
Reviewer
Restricted Project
Differential Revision
D14447: [electrum] fix compact_size_nbytes for 0-length scripts
Parents
rABC9fbe3a8d720f: [mock-chronik-client] Add module to monorepo
Branches
Unknown
Tags
Unknown