FIXME: We should talk to lightningd anyway, rather than doing this */
| 541 | |
| 542 | /* FIXME: We should talk to lightningd anyway, rather than doing this */ |
| 543 | static void closing_dev_memleak(const tal_t *ctx, |
| 544 | u8 *scriptpubkey[NUM_SIDES], |
| 545 | const u8 *funding_wscript) |
| 546 | { |
| 547 | struct htable *memtable = memleak_start(tmpctx); |
| 548 | |
| 549 | memleak_ptr(memtable, ctx); |
| 550 | memleak_ptr(memtable, scriptpubkey[LOCAL]); |
| 551 | memleak_ptr(memtable, scriptpubkey[REMOTE]); |
| 552 | memleak_ptr(memtable, funding_wscript); |
| 553 | |
| 554 | dump_memleak(memtable, memleak_status_broken, NULL); |
| 555 | } |
| 556 | |
| 557 | /* Figure out what weight we actually expect for this closing tx (using zero fees |
| 558 | * gives the largest possible tx: larger values might omit outputs). */ |
no test coverage detected