diff options
author | Brandon Black <brandonblack@bitgo.com> | 2022-04-04 07:44:44 -0700 |
---|---|---|
committer | Brandon Black <brandonblack@bitgo.com> | 2022-04-04 07:44:44 -0700 |
commit | 1b67c8835f74e7d66372389c04e736636a430bbf (patch) | |
tree | b58c078fd5c01dcd219f423672830a4014eaac50 /bip-0371.mediawiki | |
parent | ad6e587232a29f4a86483e3b83ebdfcd7b46f77d (diff) |
Correct pubkey type for TAP_INTERNAL_KEY
Diffstat (limited to 'bip-0371.mediawiki')
-rw-r--r-- | bip-0371.mediawiki | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bip-0371.mediawiki b/bip-0371.mediawiki index 1b27d16..665a97b 100644 --- a/bip-0371.mediawiki +++ b/bip-0371.mediawiki @@ -89,7 +89,7 @@ The new per-input types are defined as follows: | <tt>PSBT_IN_TAP_INTERNAL_KEY = 0x17</tt> | None | No key data -| <tt><pubkey></tt> +| <tt><xonlypubkey></tt> | 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. | | @@ -123,7 +123,7 @@ The new per-output types are defined as follows: | <tt>PSBT_OUT_TAP_INTERNAL_KEY = 0x05</tt> | None | No key data -| <tt><pubkey></tt> +| <tt><xonlypubkey></tt> | The X-only pubkey used as the internal key in this output. | | |