FIXME: We should talk to lightningd anyway, rather than doing this */
| 551 | #if DEVELOPER |
| 552 | /* FIXME: We should talk to lightningd anyway, rather than doing this */ |
| 553 | static void closing_dev_memleak(const tal_t *ctx, |
| 554 | u8 *scriptpubkey[NUM_SIDES], |
| 555 | const u8 *funding_wscript) |
| 556 | { |
| 557 | struct htable *memtable = memleak_start(tmpctx); |
| 558 | |
| 559 | memleak_ptr(memtable, ctx); |
| 560 | memleak_ptr(memtable, scriptpubkey[LOCAL]); |
| 561 | memleak_ptr(memtable, scriptpubkey[REMOTE]); |
| 562 | memleak_ptr(memtable, funding_wscript); |
| 563 | |
| 564 | dump_memleak(memtable, memleak_status_broken); |
| 565 | } |
| 566 | #endif /* DEVELOPER */ |
| 567 | |
| 568 | /* Figure out what weight we actually expect for this closing tx (using zero fees |
no test coverage detected