1
0
mirror of https://github.com/bitcoin/bips.git synced 2026-10-19 19:29:18 +00:00
Files
bips/bip-0352
Ferdinando Ametrano 8754690b72 bip-0352: do not require the optional expected argument
create_outputs and scanning declare expected with a default of None but
dereference it unconditionally (expected.get(...)), so calling either
without it raises AttributeError, although the parameter is documented
optional. Guard the expected-value checks with `if expected is not None:`.

The self-test, which always passes expected, is unaffected.
2026-09-19 15:03:27 +02:00
..
2024-05-08 18:14:55 +02:00