mirror of
https://github.com/lightning/bolts.git
synced 2025-03-10 09:10:07 +01:00
BOLT 3: Fix funding output script
remove `0` from the funding output script as it is not part of a normal 2-of-2 multisig script
This commit is contained in:
parent
eebbd617bd
commit
66ffc6c624
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ Most transaction outputs used here are P2WSH outputs, the segwit version of P2SH
|
|||
## Funding Transaction Output
|
||||
|
||||
* The funding output script is a pay-to-witness-script-hash<sup>[BIP141](https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki#witness-program)</sup> to:
|
||||
* `0 2 <key1> <key2> 2 OP_CHECKMULTISIG`
|
||||
* `2 <key1> <key2> 2 OP_CHECKMULTISIG`
|
||||
* Where `key1` is the numerically lesser of the two DER-encoded `funding-pubkey` and `key2` is the greater.
|
||||
|
||||
## Commitment Transaction
|
||||
|
|
Loading…
Add table
Reference in a new issue