Skip to content

Commit 4e292d4

Browse files
committed
fixup: disallow P2SH scripts in outputs
P2SH outputs have larger dust requirements than native SegWit (and Taproot) scripts; we disallow the creation of them on funding txs as a they're problematic for relay when allowing dust limits below 546 sats (see lightning#894) Suggested-by: @t-bast
1 parent b4f0ef0 commit 4e292d4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-peer-protocol.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ The sending node:
269269

270270
The receiving node:
271271
- MUST add the specified output to the transaction
272-
- MUST accept P2SH, P2WSH, P2WPKH, P2PKH, P2TR `script`s
272+
- MUST accept P2WSH, P2WPKH, P2PKH, P2TR `script`s
273273
- MAY fail the negotiation if `script` is non-standard
274274
- MUST fail the negotiation if:
275275
- the `serial_id` is already included in the transaction

0 commit comments

Comments
 (0)