Skip to content

Commit 4c19c18

Browse files
jl2012sipa
authored andcommitted
33 to 40 bytes push should now be considered a witness scriptPubKey
1 parent 7799a7c commit 4c19c18

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/test/data/tx_invalid.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -310,5 +310,9 @@
310310
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x00 0x20 0x34b6c399093e06cf9f0f7f660a1abcfe78fcf7b576f43993208edd9518a0ae9b", 1000]],
311311
"0100000000010100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff0001045102010100000000", "P2SH,WITNESS"],
312312

313+
["33 bytes push should be considered a witness scriptPubKey"],
314+
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "0x60 0x21 0xff25429251b5a84f452230a3c75fd886b7fc5a7865ce4a7bb7a9d7c5be6da3dbff", 1000]],
315+
"010000000100010000000000000000000000000000000000000000000000000000000000000000000000ffffffff01e803000000000000015100000000", "P2SH,WITNESS,DISCOURAGE_UPGRADABLE_WITNESS_PROGRAM"],
316+
313317
["Make diffs cleaner by leaving a comment here without comma at the end"]
314318
]

0 commit comments

Comments
 (0)