| 854 | } |
| 855 | |
| 856 | static void complain_unfixed(struct lightningd *ld, |
| 857 | enum channel_state state, |
| 858 | u64 id, |
| 859 | const u8 *bytes, |
| 860 | const char *why) |
| 861 | { |
| 862 | /* This is OK on closed channels */ |
| 863 | if (state != CLOSED) { |
| 864 | log_broken(ld->log, |
| 865 | "%s channel id %"PRIu64" PSBT hex '%s'", |
| 866 | why, id, tal_hex(tmpctx, bytes)); |
| 867 | } else { |
| 868 | log_debug(ld->log, |
| 869 | "%s on closed channel id %"PRIu64" PSBT hex '%s'", |
| 870 | why, id, tal_hex(tmpctx, bytes)); |
| 871 | } |
| 872 | } |
| 873 | |
| 874 | void migrate_invalid_last_tx_psbts(struct lightningd *ld, struct db *db) |
| 875 | { |
no test coverage detected