Skip to content

Commit b019103

Browse files
committed
docs: Just some docs I found useful
1 parent eb6949d commit b019103

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lightningd/closing_control.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,9 @@ static struct amount_sat calc_tx_fee(struct amount_sat sat_in,
203203

204204
for (size_t i = 0; i < tx->wtx->num_outputs; i++) {
205205
const struct wally_tx_output *txout = &tx->wtx->outputs[i];
206+
/* We do not consider the fee output, which is present
207+
* in elementsd, and we identify it by its empty
208+
* script, */
206209
if (chainparams->is_elements && !txout->script_len)
207210
continue;
208211

0 commit comments

Comments
 (0)