Skip to content

Commit a1ea280

Browse files
committed
untweaked can't be used with scripts
1 parent bf36070 commit a1ea280

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: motoko/basic_bitcoin/README.md

+2-1
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,8 @@ from three types of addresses:
108108
(so-called P2TR key path spend, but untweaked). The advantage of this
109109
approach compared to P2TR script spends is its significantly smaller fee per
110110
transaction because checking the transaction signature is analogous to P2PK
111-
but uses Schnorr instead of ECDSA. IMPORTANT: Note that
111+
but uses Schnorr instead of ECDSA. The limitation of untweaked P2TR addresses
112+
is that they cannot be used with scripts. IMPORTANT: Note that
112113
[BIP341](https://github.com/bitcoin/bips/blob/master/bip-0341.mediawiki#cite_note-23)
113114
advises against using taproot addresses that can be spent with an untweaked
114115
key. This precaution is to prevent attacks that can occur when creating

0 commit comments

Comments
 (0)