diff --git a/Makefile b/Makefile index 6e58c15ca626..54913ec021bc 100644 --- a/Makefile +++ b/Makefile @@ -23,7 +23,7 @@ CCANDIR := ccan # Where we keep the BOLT RFCs BOLTDIR := ../bolts/ -DEFAULT_BOLTVERSION := 47d325c6ac50587d9974651a7b2a692f85c9a068 +DEFAULT_BOLTVERSION := f32c6ddb5f11b431c9bb4f501cdec604172a90de # Can be overridden on cmdline. BOLTVERSION := $(DEFAULT_BOLTVERSION) diff --git a/common/htlc_tx.c b/common/htlc_tx.c index e80ea1375813..5be4b47f2ba2 100644 --- a/common/htlc_tx.c +++ b/common/htlc_tx.c @@ -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 */