mirror of
https://github.com/aljazceru/lightning.git
synced 2026-01-06 07:34:21 +01:00
BOLT: update to clarify HTLC tx amount calculation.
Simple quote update. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
This commit is contained in:
@@ -52,8 +52,9 @@ static struct bitcoin_tx *htlc_tx(const tal_t *ctx,
|
||||
|
||||
/* BOLT #3:
|
||||
* * txout count: 1
|
||||
* * `txout[0]` amount: the HTLC amount minus fees
|
||||
* (see [Fee Calculation](#fee-calculation))
|
||||
* * `txout[0]` amount: the HTLC `amount_msat` divided by 1000
|
||||
* (rounding down) minus fees in satoshis (see
|
||||
* [Fee Calculation](#fee-calculation))
|
||||
* * `txout[0]` script: version-0 P2WSH with witness script as shown
|
||||
* below
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user