FIXME: We should talk to lightningd anyway, rather than doing this */
| 564 | |
| 565 | /* FIXME: We should talk to lightningd anyway, rather than doing this */ |
| 566 | static void closing_dev_memleak(const tal_t *ctx, |
| 567 | u8 *scriptpubkey[NUM_SIDES], |
| 568 | const u8 *funding_wscript) |
| 569 | { |
| 570 | struct htable *memtable = memleak_start(tmpctx); |
| 571 | |
| 572 | memleak_ptr(memtable, ctx); |
| 573 | memleak_ptr(memtable, scriptpubkey[LOCAL]); |
| 574 | memleak_ptr(memtable, scriptpubkey[REMOTE]); |
| 575 | memleak_ptr(memtable, funding_wscript); |
| 576 | |
| 577 | dump_memleak(memtable, memleak_status_broken, NULL); |
| 578 | } |
| 579 | |
| 580 | /* Figure out what weight we actually expect for this closing tx (using zero fees |
| 581 | * gives the largest possible tx: larger values might omit outputs). */ |
no test coverage detected