Skip to content

Commit 1b67c88

Browse files
committed
Correct pubkey type for TAP_INTERNAL_KEY
1 parent ad6e587 commit 1b67c88

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

bip-0174.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@ The currently defined per-input types are defined as follows:
465465
| <tt>PSBT_IN_TAP_INTERNAL_KEY = 0x17</tt>
466466
| None
467467
| No key data
468-
| <tt><pubkey></tt>
468+
| <tt><xonlypubkey></tt>
469469
| The X-only pubkey used as the internal key in this output. Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
470470
|
471471
|
@@ -570,7 +570,7 @@ determine which outputs are change outputs and verify that the change is returni
570570
| <tt>PSBT_OUT_TAP_INTERNAL_KEY = 0x05</tt>
571571
| None
572572
| No key data
573-
| <tt><pubkey></tt>
573+
| <tt><xonlypubkey></tt>
574574
| The X-only pubkey used as the internal key in this output.
575575
|
576576
|

bip-0371.mediawiki

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ The new per-input types are defined as follows:
8989
| <tt>PSBT_IN_TAP_INTERNAL_KEY = 0x17</tt>
9090
| None
9191
| No key data
92-
| <tt><pubkey></tt>
92+
| <tt><xonlypubkey></tt>
9393
| The X-only pubkey used as the internal key in this output.<ref>'''Why is the internal key provided?'''The internal key is not necessarily the same key as in the Taproot output script. BIP 341 recommends tweaking the key with the hash of itself. It may be necessary for signers to know what the internal key actually is so that they are able to determine whether an input can be signed by it.</ref> Finalizers should remove this field after <tt>PSBT_IN_FINAL_SCRIPTWITNESS</tt> is constructed.
9494
|
9595
|
@@ -123,7 +123,7 @@ The new per-output types are defined as follows:
123123
| <tt>PSBT_OUT_TAP_INTERNAL_KEY = 0x05</tt>
124124
| None
125125
| No key data
126-
| <tt><pubkey></tt>
126+
| <tt><xonlypubkey></tt>
127127
| The X-only pubkey used as the internal key in this output.
128128
|
129129
|

0 commit comments

Comments
 (0)