Skip to content

Commit 2c8fe46

Browse files
MarcoFalkecodablock
authored andcommitted
Merge bitcoin#9100: tx_valid: re-order inputs to how they are encoded
5262a15 tx_valid: re-order inputs to how they are encoded (Daniel Cousens)
1 parent d5f2f07 commit 2c8fe46

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/data/tx_valid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
["The following tests for the presence of a bug in the handling of SIGHASH_SINGLE"],
5454
["It results in signing the constant 1, instead of something generated based on the transaction,"],
5555
["when the input doing the signing has an index greater than the maximum output index"],
56-
[[["0000000000000000000000000000000000000000000000000000000000000100", 0, "DUP HASH160 0x14 0xe52b482f2faa8ecbf0db344f93c84ac908557f33 EQUALVERIFY CHECKSIG"], ["0000000000000000000000000000000000000000000000000000000000000200", 0, "1"]],
56+
[[["0000000000000000000000000000000000000000000000000000000000000200", 0, "1"], ["0000000000000000000000000000000000000000000000000000000000000100", 0, "DUP HASH160 0x14 0xe52b482f2faa8ecbf0db344f93c84ac908557f33 EQUALVERIFY CHECKSIG"]],
5757
"01000000020002000000000000000000000000000000000000000000000000000000000000000000000151ffffffff0001000000000000000000000000000000000000000000000000000000000000000000006b483045022100c9cdd08798a28af9d1baf44a6c77bcc7e279f47dc487c8c899911bc48feaffcc0220503c5c50ae3998a733263c5c0f7061b483e2b56c4c41b456e7d2f5a78a74c077032102d5c25adb51b61339d2b05315791e21bbe80ea470a49db0135720983c905aace0ffffffff010000000000000000015100000000", "P2SH"],
5858

5959
["An invalid P2SH Transaction"],

0 commit comments

Comments
 (0)