1
0
mirror of https://github.com/bitcoin/bips.git synced 2025-05-12 12:03:29 +00:00

psbt2: Fix field number counting

PSBT_OUT_SCRIPT should be 0x04, not 0x03.
This commit is contained in:
Andrew Chow 2021-06-21 17:09:14 -04:00
parent 65529b12bb
commit 70e37e025d
2 changed files with 2 additions and 2 deletions

View File

@ -501,7 +501,7 @@ determine which outputs are change outputs and verify that the change is returni
| [[bip-psb2.mediawiki|psbt2]]
|-
| Output Script
| <tt>PSBT_OUT_SCRIPT = 0x03</tt>
| <tt>PSBT_OUT_SCRIPT = 0x04</tt>
| None
| No key data
| <tt><script></tt>

View File

@ -197,7 +197,7 @@ The new per-output types for PSBT Version 2 are defined as follows:
| 2
|-
| Output Script
| <tt>PSBT_OUT_SCRIPT = 0x03</tt>
| <tt>PSBT_OUT_SCRIPT = 0x04</tt>
| None
| No key data
| <tt><script></tt>