Skip to content

Commit 70e37e0

Browse files
committed
psbt2: Fix field number counting
PSBT_OUT_SCRIPT should be 0x04, not 0x03.
1 parent 65529b1 commit 70e37e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

bip-0174.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ determine which outputs are change outputs and verify that the change is returni
501501
| [[bip-psb2.mediawiki|psbt2]]
502502
|-
503503
| Output Script
504-
| <tt>PSBT_OUT_SCRIPT = 0x03</tt>
504+
| <tt>PSBT_OUT_SCRIPT = 0x04</tt>
505505
| None
506506
| No key data
507507
| <tt><script></tt>

bip-0370.mediawiki

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ The new per-output types for PSBT Version 2 are defined as follows:
197197
| 2
198198
|-
199199
| Output Script
200-
| <tt>PSBT_OUT_SCRIPT = 0x03</tt>
200+
| <tt>PSBT_OUT_SCRIPT = 0x04</tt>
201201
| None
202202
| No key data
203203
| <tt><script></tt>

0 commit comments

Comments
 (0)